void-packages/srcpkgs/xf86-input-joystick/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

28 lines
768 B
Bash

# 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"
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
}
}