2 # Copyright (C) 2006 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
16 PKG_SOURCE_VERSION
:=$(PKG_VERSION
)
17 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
19 PKG_SOURCE_URL
:=https
://svn.enlightenment.org
/svn
/e
/trunk
/$(PKG_NAME
)
20 PKG_BUILD_DIR
=$(BUILD_DIR
)/Xorg
/$(_CATEGORY
)/$(PKG_NAME
)-$(PKG_VERSION
)/
24 include $(INCLUDE_DIR
)/package.mk
30 TITLE
:=Embryo implements a C like scripting language used in various parts of the Enlightenment project
(edje
)
31 URL
:=http
://wiki.enlightenment.org
/index.php
/Embryo
32 DEPENDS
:=+eet
+evas
+libXtst
+libXcursor
+libXrandr
35 define Package
/embryo
/description
36 Embryo implements a C like scripting language used in various parts of the Enlightenment project
, namely Edje. Embryo
's scripting language is based on CompuPhase's Small language that was introduced in Dr Dobb
's Journal in 1999. Embryo allows scripting capabilities in places that otherwise wouldn't support basic programming structures such
as in Edje EDCs.
39 define Build
/Configure
40 (cd
$(PKG_BUILD_DIR
); NOCONFIGURE
=YES .
/autogen.sh
);
41 $(call Build
/Configure
/Default
)
45 DESTDIR
="$(PKG_INSTALL_DIR)" $(MAKE
) -C
$(PKG_BUILD_DIR
) all install
48 define Build
/InstallDev
49 mkdir
-p
$(1)/usr
/include $(1)/usr
/lib
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
/
54 define Package
/embryo
/install
55 $(INSTALL_DIR
) $(1)/usr
/lib
$(1)/usr
/bin
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libembryo.so
* $(1)/usr
/lib
/
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/embryo_cc
$(1)/usr
/bin
/
60 $(eval
$(call BuildPackage
,embryo
))