# SliTaz package receipt.

PACKAGE="xfburn"
VERSION="0.4.3"
CATEGORY="utilities"
SHORT_DESC="GTK+ based CD and DVD burning application"
MAINTAINER="devl547@gmail.com"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://goodies.xfce.org/projects/applications/xfburn"
WGET_URL="http://archive.xfce.org/src/apps/xfburn/0.4/$TARBALL"

DEPENDS="gtk+ libburn libexo libxfcegui4 libisofs"
BUILD_DEPENDS="intltool libburn-dev libexo-dev libxfcegui4-dev libisofs-dev"
 
# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr --sysconfdir=/etc \
	--libexecdir=/usr/bin \
	--disable-gstreamer \
	--disable-dbus \
	--disable-hal \
	--disable-thunar-vfs \
	$CONFIGURE_ARGS &&
	make &&
	make 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/applications $fs/usr/share
	cp -a $_pkg/usr/share/icons $fs/usr/share
	cp -a $_pkg/usr/share/xfburn $fs/usr/share
}