wok-6.x annotate decibel/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents
children 47439c60021f
rev   line source
slaxemulator@7369 1 # SliTaz package receipt.
slaxemulator@7369 2
slaxemulator@7369 3 PACKAGE="decibel"
slaxemulator@7369 4 VERSION="1.06"
slaxemulator@7369 5 CATEGORY="multimedia"
slaxemulator@7369 6 SHORT_DESC="Decibel audio player for Gnome Desktop."
slaxemulator@7369 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7369 8 DEPENDS="python gst-python python-notify pygtk dbus-python mutagen"
slaxemulator@7369 9 BUILD_DEPENDS="gettext"
slaxemulator@7369 10 SOURCE="$PACKAGE-audio-player"
slaxemulator@7369 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@7369 12 WEB_SITE="http://decibel.silent-blade.org/"
slaxemulator@7369 13 WGET_URL="http://decibel.silent-blade.org/uploads/Main/$TARBALL"
slaxemulator@7369 14
slaxemulator@7369 15 # Rules to configure and make the package.
slaxemulator@7369 16 compile_rules()
slaxemulator@7369 17 {
slaxemulator@7369 18 cd $src
slaxemulator@7369 19 # needed to install locale files
slaxemulator@7369 20 [ -L /usr/bin/find ]; tazpkg get-install findutils --forced
slaxemulator@7369 21 make prefix=/usr DESTDIR=$PWD/_pkg install
slaxemulator@7369 22 }
slaxemulator@7369 23
slaxemulator@7369 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7369 25 genpkg_rules()
slaxemulator@7369 26 {
slaxemulator@7369 27 mkdir -p $fs/usr/share
slaxemulator@7369 28 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7369 29 cp -a $_pkg/usr/share/$SOURCE $fs/usr/share
slaxemulator@7369 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
slaxemulator@7369 31 cp -a $_pkg/usr/share/applications $fs/usr/share
slaxemulator@7369 32 }
slaxemulator@7369 33