void-packages/srcpkgs/libevdev/template

31 lines
751 B
Text
Raw Normal View History

2013-10-20 05:18:47 +00:00
# Template file for 'libevdev'
pkgname=libevdev
version=0.4
revision=1
build_style=gnu-configure
configure_args="--disable-gcov"
hostmakedepends="python"
short_desc="Wrapper library for evdev devices"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/libevdev/"
distfiles="http://freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
checksum=ba6becd3f41430aa290ddf53694909fb46b9a65d5fe264e5fc2a4f5169484f42
libevdev-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
libevdev_package() {
pkg_install() {
vmove all
}
}