# Template file for 'libwacom'
pkgname=libwacom
version=0.7
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libgudev-devel"
short_desc="Library to identify wacom tablets"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Main_Page"
distfiles="${SOURCEFORGE_SITE}/linuxwacom/$pkgname-$version.tar.bz2"
checksum=210c48b595461ebee63b1a846a6eb1d8f029b49d02ccbde34eadf551a5a68a78
long_desc="
 libwacom is a library to identify wacom tablets and their model-specific
 features. It provides easy access to information such as is this a built-in
 on-screen tablet, what is the size of this model, etc."

libwacom-devel_package() {
	depends="libglib-devel libwacom>=$version"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
	}
}

libwacom_package() {
	pkg_install() {
		vmove usr
	}
}
