# SliTaz package receipt.

PACKAGE="hsetroot"
VERSION="1.0.2"
CATEGORY="x-window"
SHORT_DESC="Tool to set desktop wallpaper."
MAINTAINER="pankso@slitaz.org"
DEPENDS="imlib2 libpng freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
xorg-libXext"
BUILD_DEPENDS="imlib2-dev libpng-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://thegraveyard.org/hsetroot.php"
WGET_URL="http://thegraveyard.org/files/$TARBALL"
TAGS="wallpaper"

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

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