# $Id$ PNAME="xf86-input-vmmouse" PVER="12.6.5" PBUILD="r3" PCATEGORIE="x11-drivers" STATE="unstable" DESCRIPTION="Xorg input driver for ${PNAME/xf86-input-/} devices." HOMEPAGE="http://xorg.freedesktop.org" sminclude xorg mtools UP2DATE="updatecmd_xorg ${PNAME}" SRC_URI=( ${SRC_URI[*]} mirror://${PNAME}/${PNAME}-${PVER}-abi-change-1.7.0.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix abi changes with xorg-server-1.7.0 mpatch ${PNAME}-${PVER}-abi-change-1.7.0.patch || die } src_compile() { cd ${SRCDIR} # hal-probe-vmmware executable must be found systemwide xorg_src_configure --with-hal-callouts-dir=/usr/bin || die mmake || die } # restart hal to get the provided hal rules recognized postinstall() { mstartservice hald } postremove() { mstartservice hald }