void-packages/srcpkgs/libinput/template

25 lines
808 B
Text
Raw Normal View History

2014-03-27 10:19:08 +00:00
# Template file for 'libinput'
pkgname=libinput
version=0.1.0
revision=2
2014-03-27 10:19:08 +00:00
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="mtdev-devel libudev-devel libevdev-devel>=1.2"
2014-03-27 10:19:08 +00:00
short_desc="Library to handle input devices in Wayland compositors and to provide a generic X.Org input driver"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/libinput/"
distfiles="http://freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
checksum=63214727be5115806868ebdf9470fe2ddf4b2e1229102e080237380d22b40a1d
libinput-devel_package() {
short_desc+=" - development files"
depends="libudev-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}