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

30 lines
807 B
Bash

# Template build file for 'xf86-input-evdev'.
pkgname=xf86-input-evdev
version=2.10.4
revision=1
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel mtdev-devel libevdev-devel"
depends="virtual?xserver-abi-input-22_1"
short_desc="Xorg event device input driver"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2"
checksum=bbf6a03fbce1a6c0c7d874eef519fd0a854bf01b515c745d41fa551ce6490cc2
post_install() {
vlicense COPYING
}
xf86-input-evdev-devel_package() {
lib32disabled=yes
depends="xorg-server-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}