wok-stable annotate esmart/receipt @ rev 3491
pam_mount: Fix path (avoid files in /usr)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 18 03:22:47 2009 +0200 (2009-06-18) |
parents | 236a47acb6f7 |
children | 32654c2dc3e5 |
rev | line source |
---|---|
pankso@2914 | 1 # SliTaz package receipt. |
pankso@2914 | 2 |
pankso@2914 | 3 PACKAGE="esmart" |
pankso@2914 | 4 VERSION="40510" |
pankso@2914 | 5 CATEGORY="x-window" |
pankso@2914 | 6 SHORT_DESC="A collection of evas smart objects." |
pankso@2914 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2973 | 8 DEPENDS="cairo evas ecore embryo edje imlib2 libtool" |
pankso@2914 | 9 BUILD_DEPENDS="cairo-dev evas-dev" |
pankso@2914 | 10 WEB_SITE="http://www.enlightenment.org/" |
pankso@2914 | 11 |
pankso@2914 | 12 # Rules to configure and make the package. |
pankso@2914 | 13 compile_rules() |
pankso@2914 | 14 { |
pankso@2914 | 15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION |
pankso@2914 | 16 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \ |
pankso@2914 | 17 -r $VERSION $PACKAGE-$VERSION |
pankso@2914 | 18 cd $src |
pankso@2914 | 19 ./autogen.sh \ |
pankso@2914 | 20 --prefix=/usr \ |
pankso@2914 | 21 --mandir=/usr/share/man \ |
pankso@2914 | 22 $CONFIGURE_ARGS && |
pankso@2914 | 23 make && |
pankso@2914 | 24 make DESTDIR=$PWD/_pkg install |
pankso@2914 | 25 } |
pankso@2914 | 26 |
pankso@2914 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2914 | 28 genpkg_rules() |
pankso@2914 | 29 { |
pankso@2914 | 30 mkdir -p $fs/usr/lib |
pankso@2914 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@2914 | 32 cp -a $_pkg/usr/share $fs/usr |
pankso@2914 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2914 | 34 cp -a $_pkg/usr/lib/esmart $fs/usr/lib |
pankso@2914 | 35 rm -rf $fs/usr/lib/esmart/*/*.*a |
pankso@2914 | 36 } |
pankso@2914 | 37 |