void-packages/srcpkgs/libwacom/template
2017-01-25 10:36:01 +01:00

28 lines
762 B
Bash

# Template file for 'libwacom'
pkgname=libwacom
version=0.23
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel libgudev-devel"
short_desc="Library to identify wacom tablets"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://linuxwacom.sourceforge.net/wiki/index.php/Main_Page"
distfiles="${SOURCEFORGE_SITE}/linuxwacom/$pkgname-$version.tar.bz2"
checksum=a08ac59ff26dbdf5888a6ad7bd97a66741807cda6bb1c7e7f299a555129c3162
post_install() {
vlicense COPYING
}
libwacom-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}