wok-current annotate rage/receipt @ rev 13299
dukto: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 28 14:08:54 2012 +0200 (2012-08-28) |
parents | a8c1661a6b17 |
children | 0a8a8c347a7e |
rev | line source |
---|---|
pankso@264 | 1 # SliTaz package receipt. |
pankso@264 | 2 |
pankso@264 | 3 PACKAGE="rage" |
gokhlayeh@8596 | 4 VERSION="55225" |
pankso@271 | 5 CATEGORY="multimedia" |
pankso@264 | 6 SHORT_DESC="E17 rage media center." |
pankso@264 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12535 | 8 WEB_SITE="http://www.enlightenment.org/" |
pankso@12535 | 9 WGET_URL="subversion|http://svn.enlightenment.org/svn/e/trunk/$PACKAGE" |
pankso@12535 | 10 BRANCH="$VERSION" |
pankso@12535 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12535 | 12 TAGS="mp3 ogg video e17 audio music" |
pankso@12535 | 13 |
pankso@2918 | 14 DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl" |
pankso@2918 | 15 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev emotion-dev \ |
pascal@12946 | 16 emotion eina-dev curl-dev openssl-dev subversion autoconf automake libtool \ |
pascal@12946 | 17 jpeg-dev expat-dev glib-dev" |
pankso@264 | 18 |
pankso@264 | 19 # Rules to configure and make the package. |
pankso@264 | 20 compile_rules() |
pankso@264 | 21 { |
pankso@264 | 22 cd $src |
pankso@2918 | 23 ./autogen.sh \ |
pankso@264 | 24 --prefix=/usr \ |
pascal@1516 | 25 $CONFIGURE_ARGS && |
pankso@12535 | 26 make && make install |
pankso@264 | 27 } |
pankso@264 | 28 |
pankso@264 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@264 | 30 genpkg_rules() |
pankso@264 | 31 { |
pankso@2918 | 32 mkdir -p $fs/usr/share/doc/rage |
pankso@12535 | 33 cp -a $install/usr/bin $fs/usr |
pankso@12535 | 34 cp -a $install/usr/share $fs/usr |
pankso@2918 | 35 cp $src/README $fs/usr/share/doc/rage |
pankso@2918 | 36 cat > $fs/usr/share/rage/example.volumes << EOT |
pankso@2918 | 37 /home/user/Images |
pankso@2918 | 38 /home/user/Music |
pankso@2918 | 39 /home/user/Videos |
pankso@2918 | 40 EOT |
pankso@264 | 41 } |