# SliTaz package receipt.

PACKAGE="xfce4-appfinder"
VERSION="4.8.0"
CATEGORY="x-window"
SHORT_DESC="Xfce Application  Finder"
MAINTAINER="erjo@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.xfce.org"
WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="gtk+ garcon libxfce4ui xfconf thunar gamin dbus-glib startup-notification \
 garcon util-linux-ng-uuid"
BUILD_DEPENDS="intltool libxfce4util-dev libxfce4ui-dev garcon-dev xfconf-dev \
 startup-notification-dev dbus-glib-dev util-linux-ng-uuid-dev "

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr \
		--disable-static \
		--disable-debug $CONFIGURE_ARGS && 
	make && make DESTDIR=$DESTDIR install
}

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