2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $
9 include $(TOPDIR
)/rules.mk
13 PKG_VERSION
:=r
$(PKG_REV
)
17 PKG_SOURCE_VERSION
:=$(PKG_REV
)
18 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
20 PKG_SOURCE_URL
:=http
://svn.enlightenment.org
/svn
/e
/trunk
/$(PKG_NAME
)
21 PKG_BUILD_DIR
=$(BUILD_DIR
)/Xorg
/$(_CATEGORY
)/$(PKG_NAME
)-$(PKG_VERSION
)/
23 HOST_BUILD_DEPENDS
:=evas
/host ecore
/host eet
/host embryo
/host
27 include $(INCLUDE_DIR
)/host-build.mk
28 include $(INCLUDE_DIR
)/package.mk
34 TITLE
:=Edje is a graphical design and layout library
35 URL
:=http
://wiki.enlightenment.org
/index.php
/Edje
36 DEPENDS
:=+evas
+ecore
+eet
+embryo
39 define Package
/edje
/description
40 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.
43 define Build
/Configure
44 ( cd
$(PKG_BUILD_DIR
); NOCONFIGURE
=YES .
/autogen.sh
);
45 $(call Build
/Configure
/Default
, \
52 ( cd
$(HOST_BUILD_DIR
); NOCONFIGURE
=YES .
/autogen.sh
);
53 $(call Host
/Configure
/Default
, \
60 DESTDIR
="$(PKG_INSTALL_DIR)" $(MAKE
) -C
$(PKG_BUILD_DIR
) all install
63 define Build
/InstallDev
64 $(INSTALL_DIR
) $(1)/usr
/include $(1)/usr
/lib
65 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
66 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
/
69 define Package
/edje
/install
70 $(INSTALL_DIR
) $(1)/usr
/lib
71 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* $(1)/usr
/lib
/
74 $(eval
$(call HostBuild
))
75 $(eval
$(call BuildPackage
,edje
))