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

32 lines
797 B
Text

# Template build file for 'xf86-input-joystick'.
pkgname=xf86-input-joystick
version=1.6.2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel>=1.14"
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+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
xf86-input-joystick_package() {
depends="xserver-abi-input-19_1"
pkg_install() {
vmove all
}
}