void-packages/srcpkgs/libwacom/template

29 lines
782 B
Bash

# Template file for 'libwacom'
pkgname=libwacom
version=0.19
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://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Main_Page"
distfiles="${SOURCEFORGE_SITE}/linuxwacom/$pkgname-$version.tar.bz2"
checksum=620d88cd85d118107c69db094c07284ead2342048cc0e9a5f16eb951a8b855ff
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"
}
}