# Template file for 'tslib'
pkgname=tslib
version=1.13
revision=1
build_style=gnu-configure
short_desc="Touchscreen access library"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="https://github.com/kergoth/tslib"
distfiles="https://github.com/kergoth/tslib/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=b381279f2d6ad6acb80cfc4852860853b7bcd1a9440821e9fe920c33f4e4f8da

tslib-tools_package() {
	short_desc+=" - command line tools"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/bin
	}
}

tslib-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
	}
}
