void-packages/srcpkgs/tslib/template

30 lines
760 B
Bash

# Template file for 'tslib'
pkgname=tslib
version=1.23
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=9b489a54d48006201f2fe955a88c3f857535ac93b6cf8e5a16c7b166c8991dac
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
}
}