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

30 lines
789 B
Bash

# Template file for 'xf86-input-joystick'
pkgname=xf86-input-joystick
version=1.6.3
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel"
depends="virtual?xserver-abi-input-24_1"
short_desc="Joystick Input driver for Xorg"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=9e7669ecf0f23b8e5dc39d5397cf28296f692aa4c0e4255f5e02816612c18eab
lib32disabled=yes
post_install() {
vlicense COPYING
vinstall ${FILESDIR}/50-joystick.conf 644 usr/share/X11/xorg.conf.d
}
xf86-input-joystick-devel_package() {
lib32disabled=yes
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}