36 lines
892 B
Bash
36 lines
892 B
Bash
# Template file for 'libevdev'
|
|
pkgname=libevdev
|
|
version=1.7.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-gcov"
|
|
hostmakedepends="python"
|
|
short_desc="Wrapper library for evdev devices"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://www.freedesktop.org/wiki/Software/libevdev/"
|
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=11dbe1f2b1d03a51f3e9a196757a75c3a999042ce34cf1fdc00a2363e5a2e369
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|