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

28 lines
779 B
Text

# Template build file for 'xf86-input-joystick'.
pkgname=xf86-input-joystick
version=1.6.2
revision=6
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel>=1.16<1.17"
depends="virtual?xserver-abi-input-21_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() {
lib32disabled=yes
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}