wok-current annotate evas/receipt @ rev 1090
slim: chown all file to root
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jul 16 21:47:54 2008 +0200 (2008-07-16) |
parents | 5d91cb5a0c63 |
children | c1ff74d9b6f4 |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="evas" |
pankso@155 | 4 VERSION="0.9.9.042" |
pankso@211 | 5 CATEGORY="x-window" |
pankso@140 | 6 SHORT_DESC="E17 libs." |
pankso@140 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@140 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@140 | 9 WEB_SITE="http://www.enlightenment.org/" |
pankso@155 | 10 WGET_URL="http://download.enlightenment.org/snapshots/2008-01-25/$TARBALL" |
pankso@140 | 11 |
pankso@140 | 12 # Rules to configure and make the package. |
pankso@140 | 13 compile_rules() |
pankso@140 | 14 { |
pankso@140 | 15 cd $src |
pankso@140 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@140 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@140 | 18 make |
pankso@140 | 19 make DESTDIR=$PWD/_pkg install |
pankso@140 | 20 } |
pankso@140 | 21 |
pankso@140 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 23 genpkg_rules() |
pankso@140 | 24 { |
pankso@140 | 25 mkdir -p $fs/usr/lib |
pankso@140 | 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@140 | 27 cp -a $_pkg/usr/lib/evas $fs/usr/lib |
pankso@140 | 28 |
pankso@140 | 29 # Clean and strip. |
pankso@140 | 30 rm -rf $fs/usr/lib/evas/modules/*/*/linux-gnu-i486/*.*a |
pankso@140 | 31 strip --strip-unneeded $fs/usr/lib/evas/modules/*/*/linux-gnu-i486/* |
pankso@140 | 32 strip --strip-unneeded $fs/usr/lib/* 2>/dev/null |
pankso@140 | 33 } |
pankso@140 | 34 |