2008-11-16 19:31:42 +00:00
|
|
|
#
|
2008-11-27 22:24:56 +00:00
|
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
2008-11-16 19:31:42 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=edje
|
2008-11-27 22:24:56 +00:00
|
|
|
PKG_REV:=37637
|
|
|
|
PKG_VERSION:=r$(PKG_REV)
|
2008-11-16 19:31:42 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=svn
|
2008-11-27 22:24:56 +00:00
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
2008-11-16 19:31:42 +00:00
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2008-11-27 22:24:56 +00:00
|
|
|
PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME)
|
2008-11-16 19:31:42 +00:00
|
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
|
|
|
|
|
|
|
PKG_FIXUP = libtool
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/edje
|
|
|
|
SECTION:=xorg-lib
|
|
|
|
CATEGORY:=Xorg
|
2009-01-09 17:10:38 +00:00
|
|
|
SUBMENU:=libraries
|
2008-11-16 19:31:42 +00:00
|
|
|
TITLE:=Edje is a graphical design and layout library
|
|
|
|
URL:=http://wiki.enlightenment.org/index.php/Edje
|
|
|
|
DEPENDS:=+libjpeg +zlib +eet +evas +ecore +embryo
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/edje/description
|
|
|
|
Edje is a graphical design and layout library based on Evas that provides an abstraction layer between the application code and the interface, while allowing extremely flexible dynamic layouts and animations.
|
|
|
|
endef
|
|
|
|
|
|
|
|
EXTRA_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
(cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
|
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--disable-edje-cc \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/edje/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,edje))
|