void-packages/srcpkgs/libevdev/template
maxice8 da5333ec0a libevdev: update to 1.5.9.
Closes: #12299 [via git-merge-pr]
2018-03-09 19:06:36 -08:00

36 lines
891 B
Bash

# Template file for 'libevdev'
pkgname=libevdev
version=1.5.9
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="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=e1663751443bed9d3e76a4fe2caf6fa866a79705d91cacad815c04e706198a75
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
}
}