void-packages/srcpkgs/tslib/template

30 lines
779 B
Bash

# Template file for 'tslib'
pkgname=tslib
version=1.16
revision=1
build_style=gnu-configure
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=c9a54651337a701a66b074c603c313225579995a7910e519bbc7b1dcdab9a755
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
}
}