# SliTaz package receipt.

PACKED_SIZE="24.0K"
UNPACKED_SIZE="64.0K"
PACKAGE="xorg-xset"
VERSION="1.2.2"
CATEGORY="x-window"
SHORT_DESC="Xorg user preference utility."
MAINTAINER="paul@slitaz.org"
LICENSE="MIT"
SOURCE="xset"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://xorg.freedesktop.org/"
WGET_URL="$XORG_MIRROR/app/$TARBALL"

DEPENDS="xorg-libXmu"
BUILD_DEPENDS="xorg-libXmu-dev"
SUGGESTED="yad"

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $install/usr/bin $fs/usr
	cp -a $stuff/xset-screensaver.sh $fs/usr/bin
	chmod 755 $fs/usr/bin/xset-screensaver.sh
}
