wok-6.x annotate rage/receipt @ rev 2918

Up: rage media center (last svn revision)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 06 23:19:39 2009 +0200 (2009-05-06)
parents 3f898e9b90bd
children 3a1e39f94f32
rev   line source
pankso@264 1 # SliTaz package receipt.
pankso@264 2
pankso@264 3 PACKAGE="rage"
pankso@2918 4 VERSION="40505"
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 \
pankso@2918 10 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 }