wok-current annotate enlightenment/receipt @ rev 140
Add e17 packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 16 19:33:37 2008 +0100 (2008-01-16) |
parents | |
children | 5d91cb5a0c63 |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="enlightenment" |
pankso@140 | 4 VERSION="0.16.999.041" |
pankso@140 | 5 CATEGORY="extra" |
pankso@140 | 6 SHORT_DESC="Enlightenment windoe manager (E17)." |
pankso@140 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@140 | 8 DEPENDS="eet evas ecore embryo edje efreet" |
pankso@140 | 9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev" |
pankso@140 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@140 | 11 WEB_SITE="http://www.enlightenment.org/" |
pankso@140 | 12 WGET_URL="http://download.enlightenment.org/snapshots/2007-08-26/$TARBALL" |
pankso@140 | 13 |
pankso@140 | 14 # Rules to configure and make the package. |
pankso@140 | 15 compile_rules() |
pankso@140 | 16 { |
pankso@140 | 17 cd $src |
pankso@140 | 18 ./configure \ |
pankso@140 | 19 --prefix=/usr \ |
pankso@140 | 20 --sysconfdir=/etc \ |
pankso@140 | 21 --infodir=/usr/share/info \ |
pankso@140 | 22 --mandir=/usr/share/man \ |
pankso@140 | 23 $CONFIGURE_ARGS |
pankso@140 | 24 make |
pankso@140 | 25 make DESTDIR=$PWD/_pkg install |
pankso@140 | 26 } |
pankso@140 | 27 |
pankso@140 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 29 genpkg_rules() |
pankso@140 | 30 { |
pankso@140 | 31 mkdir -p $fs/usr/share/locale |
pankso@140 | 32 cp -a $_pkg/etc $fs |
pankso@140 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@140 | 34 cp -a $_pkg/usr/lib $fs/usr |
pankso@140 | 35 cp -a $_pkg/usr/share/enlightenment $fs/usr/share |
pankso@140 | 36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@140 | 37 |
pankso@140 | 38 # Remove devel files *.a/*.la and strip |
pankso@140 | 39 rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a |
pankso@140 | 40 rm -rf $fs/usr/lib/$PACKAGE/modules/*/linux-gnu-i486/*.*a |
pankso@140 | 41 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@140 | 42 strip --strip-unneeded $fs/usr/lib/$PACKAGE/preload/* |
pankso@140 | 43 strip --strip-unneeded $fs/usr/lib/$PACKAGE/modules/*/linux-gnu-i486/* |
pankso@140 | 44 |
pankso@140 | 45 # Rm backgrouds (1,6 Mb). |
pankso@140 | 46 rm -rf $fs/usr/share/enlightenment/data/backgrounds/* |
pankso@140 | 47 } |
pankso@140 | 48 |