wok-current annotate enlightenment/receipt @ rev 165
Modified e17 config file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 28 21:25:08 2008 +0100 (2008-01-28) |
parents | 5d91cb5a0c63 |
children | 0ac933d85a5c |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="enlightenment" |
pankso@155 | 4 VERSION="0.16.999.042" |
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@155 | 12 WGET_URL="http://download.enlightenment.org/snapshots/2008-01-25/$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@165 | 32 # Use a modified sysactions.conf |
pankso@165 | 33 cp -a stuff/etc $fs |
pankso@165 | 34 |
pankso@140 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@140 | 36 cp -a $_pkg/usr/lib $fs/usr |
pankso@140 | 37 cp -a $_pkg/usr/share/enlightenment $fs/usr/share |
pankso@140 | 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@140 | 39 |
pankso@140 | 40 # Remove devel files *.a/*.la and strip |
pankso@140 | 41 rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a |
pankso@140 | 42 rm -rf $fs/usr/lib/$PACKAGE/modules/*/linux-gnu-i486/*.*a |
pankso@140 | 43 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@140 | 44 strip --strip-unneeded $fs/usr/lib/$PACKAGE/preload/* |
pankso@140 | 45 strip --strip-unneeded $fs/usr/lib/$PACKAGE/modules/*/linux-gnu-i486/* |
pankso@140 | 46 |
pankso@140 | 47 # Rm backgrouds (1,6 Mb). |
pankso@140 | 48 rm -rf $fs/usr/share/enlightenment/data/backgrounds/* |
pankso@140 | 49 } |
pankso@140 | 50 |