void-packages/srcpkgs/libevdev/template

38 lines
931 B
Bash

# Template file for 'libevdev'
pkgname=libevdev
version=1.9.1
revision=1
build_style=gnu-configure
configure_args="--disable-gcov"
hostmakedepends="python3"
checkdepends="pkg-config check-devel"
short_desc="Wrapper library for evdev devices"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="MIT"
homepage="https://www.freedesktop.org/wiki/Software/libevdev/"
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=f5603c48c5afd76b14df7a5124e0a94a102f8da0d45826192325069d1bbc7acb
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
}
}