void-packages/srcpkgs/tslib/template
Jürgen Buchmüller 3e6247c746 tslib: update to 1.21
Also switch to build style cmake.
2019-10-23 22:13:04 +02:00

29 lines
771 B
Bash

# Template file for 'tslib'
pkgname=tslib
version=1.21
revision=1
build_style=cmake
short_desc="Touchscreen access library"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
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=d2a57b823ea59e53a3b130eef05dfed1190b857854f886eec764e1ca1957cf56
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
}
}