# SliTaz package receipt.

PACKAGE="xorg-xgamma"
VERSION="1.0.6"
CATEGORY="x-window"
SHORT_DESC="Alter a monitor's gamma correction through the X server"
MAINTAINER="jozee@slitaz.org"
SOURCE="xgamma"
TARBALL="$SOURCE-$VERSION.tar.bz2"
DEPENDS="xorg-libX11 xorg-libXxf86vm"
BUILD_DEPENDS="xorg-libX11-dev xorg-libXxf86vm-dev"
WEB_SITE="http://xorg.freedesktop.org/"
WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"

# Rules to configure and make the package.ls sr	
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--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
	cp -a $_pkg/usr/bin $fs/usr	
}