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

dosfstools: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 27 11:23:53 2014 +0000 (2014-01-27)
parents 667c0ed859d1
children 1204cf352c74
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"
pascal@15609 8 LICENSE="BSD"
pankso@12535 9 WEB_SITE="http://www.enlightenment.org/"
pankso@12535 10 WGET_URL="subversion|http://svn.enlightenment.org/svn/e/trunk/$PACKAGE"
pankso@12535 11 BRANCH="$VERSION"
pankso@12535 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@12535 13 TAGS="mp3 ogg video e17 audio music"
pankso@12535 14
pankso@2918 15 DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl"
pankso@2918 16 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev emotion-dev \
pascal@12946 17 emotion eina-dev curl-dev openssl-dev subversion autoconf automake libtool \
pascal@12946 18 jpeg-dev expat-dev glib-dev"
pankso@264 19
pankso@264 20 # Rules to configure and make the package.
pankso@264 21 compile_rules()
pankso@264 22 {
pankso@264 23 cd $src
pankso@2918 24 ./autogen.sh \
pankso@264 25 --prefix=/usr \
pascal@1516 26 $CONFIGURE_ARGS &&
pankso@12535 27 make && make install
pankso@264 28 }
pankso@264 29
pankso@264 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@264 31 genpkg_rules()
pankso@264 32 {
pankso@2918 33 mkdir -p $fs/usr/share/doc/rage
pankso@12535 34 cp -a $install/usr/bin $fs/usr
pankso@12535 35 cp -a $install/usr/share $fs/usr
pankso@2918 36 cp $src/README $fs/usr/share/doc/rage
pankso@2918 37 cat > $fs/usr/share/rage/example.volumes << EOT
pankso@2918 38 /home/user/Images
pankso@2918 39 /home/user/Music
pankso@2918 40 /home/user/Videos
pankso@2918 41 EOT
pankso@264 42 }