# SliTaz package receipt.

PACKAGE="xorg-xinput"
VERSION="1.6.3"
CATEGORY="x-window"
SHORT_DESC="X input utility (MPX support)."
MAINTAINER="pankso@slitaz.org"
DEPENDS="xorg-libXi xorg-libX11 xorg-libXext xorg-libXrandr"
BUILD_DEPENDS="xorg-libXfixes-dev xorg-libXi-dev \
xorg-libXinerama-dev xorg-libXrandr-dev"
SOURCE="xinput"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.x.org/"
WGET_URL="$XORG_MIRROR/app/$TARBALL"

# Rules to configure and make the package.
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
}