# Template build file for 'xf86-input-evdev'.
pkgname=xf86-input-evdev
version=2.8.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel>=1.13.3_3 mtdev-devel"
short_desc="Xorg event device input driver"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2"
checksum=2f5b4403955f8e82603acff7f8f21a67e89a7c0230e1506c6924c4b9dd8f0e57

xf86-input-evdev-devel_package() {
	depends="xorg-server-devel ${sourcepkg}>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

xf86-input-evdev_package() {
	depends="xserver-abi-input>=18<19"
	pkg_install() {
		vmove usr
	}
}
