wok annotate enlightenment/receipt @ rev 730
Up: slitaz-dev-pkgs (1.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 03 01:33:51 2008 +0200 (2008-05-03) |
parents | 0ac933d85a5c |
children | a4cc5b4682a2 |
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@196 | 5 CATEGORY="x-window" |
pankso@140 | 6 SHORT_DESC="Enlightenment windoe manager (E17)." |
pankso@140 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@196 | 8 DEPENDS="eet evas ecore embryo edje efreet slitaz-menus" |
pankso@218 | 9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev xorg-libXcomposite" |
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@196 | 31 mkdir -p $fs/usr/share |
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 |
pankso@196 | 39 # Remove devel files *.a/*.la |
pankso@140 | 40 rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a |
pankso@140 | 41 rm -rf $fs/usr/lib/$PACKAGE/modules/*/linux-gnu-i486/*.*a |
pankso@140 | 42 |
pankso@140 | 43 # Rm backgrouds (1,6 Mb). |
pankso@140 | 44 rm -rf $fs/usr/share/enlightenment/data/backgrounds/* |
pankso@140 | 45 } |
pankso@140 | 46 |