void-packages/srcpkgs/libevdev/template

25 lines
726 B
Bash

# Template file for 'libevdev'
pkgname=libevdev
version=1.4.1
revision=1
build_style=gnu-configure
configure_args="--disable-gcov"
hostmakedepends="python"
short_desc="Wrapper library for evdev devices"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/libevdev/"
distfiles="http://freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
checksum=5179d3c9a71dd764b4ab9df21edcdb5b61832cbc48ad90b75a52ac79cf8fae85
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
vmove usr/share/man/man3
}
}