void-packages/srcpkgs/xf86-input-joystick/template

33 lines
826 B
Text

# Template build file for 'xf86-input-joystick'.
pkgname=xf86-input-joystick
version=1.6.2
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel>=1.13.1"
short_desc="Joystick Input driver for Xorg"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=ee3b86ed72f3b5befdeed39909320f4b6970401cfbcc2cc0dfd8fb1c1576150d
post_install() {
vinstall ${FILESDIR}/50-joystick.conf 644 etc/X11/xorg.conf.d
}
xf86-input-joystick-devel_package() {
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
xf86-input-joystick_package() {
depends="xserver-abi-input>=18<19"
pkg_install() {
vmove etc
vmove usr
}
}