# Template build file for 'xf86-input-wacom'.
pkgname=xf86-input-wacom
version=0.23.0
revision=3
lib32disabled=yes
build_style=gnu-configure
configure_args="--with-xorg-conf-dir=/etc/X11/xorg.conf.d"
hostmakedepends="pkg-config"
makedepends="xorg-server-devel>=1.15<1.16 libXrandr-devel libXinerama-devel libXi-devel"
depends="xserver-abi-input-20_1"
short_desc="Xorg Wacom tablet input driver"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/linuxwacom/${pkgname}-${version}.tar.bz2"
checksum=dbc030880f7f293f8f89b21c005ae49069bfdade5c35a436f86392c9bdbf8a8d

post_install() {
	vinstall ${FILESDIR}/70-wacom.rules 644 usr/lib/udev/rules.d
}

xf86-input-wacom-devel_package() {
	lib32disabled=yes
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
