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 $
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := embryo
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
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / e m b r y o
SECTION:= xorg-lib
CATEGORY:= Xorg
SUBMENU:= lib
TITLE:= Embryo implements a C like scripting language used in various parts of the Enlightenment project ( edje)
URL:= http://wiki.enlightenment.org/index.php/Embryo
DEPENDS:= +eet +evas +libXtst +libXcursor +libXrandr
e n d e f
d e f i n e P a c k a g e / e m b r y o / d e s c r i p t i o n
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.
e n d e f
d e f i n e B u i l d / C o n f i g u r e
( cd $( PKG_BUILD_DIR) ; NOCONFIGURE = YES ./autogen.sh ) ;
$( call Build/Configure/Default)
e n d e f
d e f i n e B u i l d / C o m p i l e
DESTDIR = " $( PKG_INSTALL_DIR) " $( MAKE) -C $( PKG_BUILD_DIR) all install
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
mkdir -p $( 1) /usr/include $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/include/* $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/* $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / e m b r y o / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib $( 1) /usr/bin
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libembryo.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/embryo_cc $( 1) /usr/bin/
e n d e f
$( eval $ ( call BuildPackage ,embryo ) )