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.5
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=9edaa6205baf6d2922cc4db3d8e54a7e7773b5f733b0ae90f6be7725f983b70d
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
}
}