void-packages/srcpkgs/libevdev/template
Alessio Sergi 35104c7ee6 libevdev: update to 1.5.2
Add -tools subpkg.
2016-06-17 01:02:23 +02:00

32 lines
866 B
Bash

# Template file for 'libevdev'
pkgname=libevdev
version=1.5.2
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="https://www.freedesktop.org/wiki/Software/libevdev/"
distfiles="https://freedesktop.org/software/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=5ee2163656a61f5703cb5c08a05c9471ffb7b640bfbe2c55194ea50d908f629b
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
}
}
libevdev-tools_package() {
short_desc+=" - tools"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}