wok-next annotate rage/receipt @ rev 4308
Up: ewl (rev 42530) and rage (fix both build with last emotion)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 28 15:33:14 2009 +0200 (2009-09-28) |
parents | 8eed0ac6ee3e |
children | 8be66f03fbd2 |
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/" |
pankso@2918 | 12 TAGS="mp3 ogg video e17" |
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 } |