29 lines
760 B
Bash
29 lines
760 B
Bash
# Template file for 'tslib'
|
|
pkgname=tslib
|
|
version=1.22
|
|
revision=1
|
|
build_style=cmake
|
|
short_desc="Touchscreen access library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://github.com/kergoth/tslib"
|
|
distfiles="https://github.com/kergoth/tslib/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=aaf0aed410a268d7b51385d07fe4d9d64312038e87c447ec8a24c8db0a15617a
|
|
|
|
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
|
|
}
|
|
}
|