# SliTaz package receipt.

PACKAGE="exo"
VERSION="0.6.0"
CATEGORY="meta"
SHORT_DESC="Xfce Exo library and tools"
MAINTAINER="erjo@slitaz.org"
DEPENDS="exo-tools libexo"
BUILD_DEPENDS="libxfce4util-dev perl-uri startup-notification-dev intltool
 util-linux-ng-uuid-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.xfce.org"
WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL"
COOK_OPT="!fs"

# Rules to configure and make the package.
compile_rules()
{

	#test -d $PACKAGE-$VERSION && mv exo* $PACKAGE-$VERSION
	cd $src
	patch -p1 -i $stuff/helpers.rc.u
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/libexo \
		--disable-debug \
		--mandir=/usr/share/man \
		--disable-python \
		$CONFIGURE_ARGS && \
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir $fs/usr
}