# SliTaz package receipt.

PACKAGE="decibel"
VERSION="1.06"
CATEGORY="multimedia"
SHORT_DESC="Decibel audio player for Gnome Desktop."
MAINTAINER="slaxemulator@gmail.com"
DEPENDS="python gst-python notify-python pygtk dbus-python mutagen"
BUILD_DEPENDS="gettext"
SOURCE="$PACKAGE-audio-player"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://decibel.silent-blade.org/"
WGET_URL="http://decibel.silent-blade.org/uploads/Main/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	# needed to install locale files
	[ -L /usr/bin/find ]; tazpkg get-install findutils --forced
	make prefix=/usr DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/share/$SOURCE $fs/usr/share
	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
	cp -a $_pkg/usr/share/applications $fs/usr/share
}