void-packages/srcpkgs/tslib/template
2017-09-01 13:09:27 +02:00

29 lines
771 B
Bash

# Template file for 'tslib'
pkgname=tslib
version=1.12
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=237f66c9e53789429b1bcc89a36eb7a37f1deb2877e6e7d928e994e3c48d0b83
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
}
}