# SliTaz package receipt.

PACKAGE="xorg-xf86-input-vmmouse"
VERSION="12.6.10"
CATEGORY="x-window"
SHORT_DESC="X.org VMWare Mouse Input driver."
MAINTAINER="slaxemulator@gmail.com"
DEPENDS="xorg-server"
BUILD_DEPENDS="xorg-server-dev"
SOURCE="xf86-input-vmmouse"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://xorg.freedesktop.org/"
WGET_URL="$XORG_MIRROR/driver/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		--with-xorg-conf-dir=/etc/X11/xorg.conf.d \
		$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
	cp -a $_pkg/usr/lib $fs/usr
	cp -a $_pkg/etc $fs
}