wok-4.x annotate emotion/receipt @ rev 3370
Childsplay: Add post_install()
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 19:05:25 2009 +0000 (2009-06-11) |
parents | ecb146e32c08 |
children | 3f9fca51615e |
rev | line source |
---|---|
pankso@264 | 1 # SliTaz package receipt. |
pankso@264 | 2 |
pankso@264 | 3 PACKAGE="emotion" |
pankso@2917 | 4 VERSION="40505" |
pankso@271 | 5 CATEGORY="x-window" |
pankso@264 | 6 SHORT_DESC="E17 emotion libs." |
pankso@264 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2917 | 8 DEPENDS="enlightenment xine-lib" |
pankso@264 | 9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev xine-lib-dev" |
pankso@264 | 10 WEB_SITE="http://www.enlightenment.org/" |
pankso@264 | 11 |
pankso@264 | 12 # Rules to configure and make the package. |
pankso@264 | 13 compile_rules() |
pankso@264 | 14 { |
pankso@2917 | 15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION |
pankso@2917 | 16 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \ |
pankso@2917 | 17 -r $VERSION $PACKAGE-$VERSION |
pankso@264 | 18 cd $src |
pankso@2917 | 19 ./autogen.sh \ |
pankso@2917 | 20 --prefix=/usr \ |
pankso@2917 | 21 --mandir=/usr/share/man \ |
pankso@2917 | 22 --disable-gstreamer \ |
pankso@2917 | 23 $CONFIGURE_ARGS && |
pascal@2487 | 24 make && |
pankso@264 | 25 make DESTDIR=$PWD/_pkg install |
pankso@264 | 26 } |
pankso@264 | 27 |
pankso@264 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@264 | 29 genpkg_rules() |
pankso@264 | 30 { |
pankso@264 | 31 mkdir -p $fs/usr/lib/emotion |
pankso@264 | 32 cp -a $_pkg/usr/share $fs/usr |
pankso@264 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@264 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@264 | 35 cp -a $_pkg/usr/lib/emotion/*.so $fs/usr/lib/emotion |
pankso@264 | 36 } |
pankso@264 | 37 |