wok-4.x annotate rage/receipt @ rev 5449
linmodem-intel-536ep: fix compile_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 14:12:43 2010 +0200 (2010-05-05) |
parents | 764bcc674b9b |
children | 9f947f5876b2 |
rev | line source |
---|---|
pankso@264 | 1 # SliTaz package receipt. |
pankso@264 | 2 |
pankso@264 | 3 PACKAGE="rage" |
pankso@4308 | 4 VERSION="42165" |
pankso@271 | 5 CATEGORY="multimedia" |
pankso@264 | 6 SHORT_DESC="E17 rage media center." |
pankso@264 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2918 | 8 DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl" |
pankso@2918 | 9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev emotion-dev \ |
pascal@3132 | 10 emotion eina-dev curl-dev openssl-dev" |
pankso@264 | 11 WEB_SITE="http://www.enlightenment.org/" |
jozee@4972 | 12 TAGS="mp3 ogg video e17 audio music" |
pankso@264 | 13 |
pankso@264 | 14 # Rules to configure and make the package. |
pankso@264 | 15 compile_rules() |
pankso@264 | 16 { |
pankso@2918 | 17 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION |
pankso@2918 | 18 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \ |
pankso@2918 | 19 -r $VERSION $PACKAGE-$VERSION |
pankso@264 | 20 cd $src |
pankso@2918 | 21 ./autogen.sh \ |
pankso@264 | 22 --prefix=/usr \ |
pascal@1516 | 23 $CONFIGURE_ARGS && |
pascal@1516 | 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@2918 | 31 mkdir -p $fs/usr/share/doc/rage |
pankso@264 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@264 | 33 cp -a $_pkg/usr/share $fs/usr |
pankso@2918 | 34 cp $src/README $fs/usr/share/doc/rage |
pankso@2918 | 35 cat > $fs/usr/share/rage/example.volumes << EOT |
pankso@2918 | 36 /home/user/Images |
pankso@2918 | 37 /home/user/Music |
pankso@2918 | 38 /home/user/Videos |
pankso@2918 | 39 EOT |
pankso@264 | 40 } |