# SliTaz package receipt.

PACKAGE="libxfce4util"
VERSION="4.8.1"
CATEGORY="x-window"
SHORT_DESC="Xfce Utility library"
MAINTAINER="erjo@slitaz.org"
DEPENDS="gtk+"
BUILD_DEPENDS="gtk+-dev intltool"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.xfce.org"
WGET_URL="http://archive.xfce.org/xfce/${VERSION%.*}/src/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr \
		--infodir=/usr/share/info \
		--disable-debug \
		--mandir=/usr/share/man $CONFIGURE_ARGS && \
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr \
		$fs/usr/lib \
		$fs/usr/share/locale
		
	cp -a $_pkg/usr/sbin $fs/usr
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
}