wok-next rev 2914

Add esmart (E17 evas smart objects)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 06 22:56:09 2009 +0200 (2009-05-06)
parents e3f84bde9be8
children d9facb22a6a7
files esmart-dev/receipt esmart/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/esmart-dev/receipt	Wed May 06 22:56:09 2009 +0200
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="esmart-dev"
     1.7 +VERSION="40510"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Devel files from E17 esmart."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="evas-dev"
    1.12 +WANTED="esmart"
    1.13 +WEB_SITE="http://www.enlightenment.org/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/include $fs/usr
    1.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/lib/esmart $fs/usr/lib
    1.23 +	rm -rf $fs/usr/lib/esmart/*/*.so
    1.24 +}
    1.25 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/esmart/receipt	Wed May 06 22:56:09 2009 +0200
     2.3 @@ -0,0 +1,37 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="esmart"
     2.7 +VERSION="40510"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="A collection of evas smart objects."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="cairo evas"
    2.12 +BUILD_DEPENDS="cairo-dev evas-dev"
    2.13 +WEB_SITE="http://www.enlightenment.org/"
    2.14 +
    2.15 +# Rules to configure and make the package.
    2.16 +compile_rules()
    2.17 +{
    2.18 +	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    2.19 +	svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
    2.20 +		-r $VERSION $PACKAGE-$VERSION
    2.21 +	cd $src
    2.22 +	./autogen.sh \
    2.23 +		--prefix=/usr \
    2.24 +		--mandir=/usr/share/man \
    2.25 +		$CONFIGURE_ARGS &&
    2.26 +	make &&
    2.27 +	make DESTDIR=$PWD/_pkg install
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	mkdir -p $fs/usr/lib
    2.34 +	cp -a $_pkg/usr/bin $fs/usr
    2.35 +	cp -a $_pkg/usr/share $fs/usr
    2.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.37 +	cp -a $_pkg/usr/lib/esmart $fs/usr/lib
    2.38 +	rm -rf $fs/usr/lib/esmart/*/*.*a
    2.39 +}
    2.40 +