void-packages/srcpkgs/tslib/template

30 lines
779 B
Bash

# Template file for 'tslib'
pkgname=tslib
version=1.19
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=efe1fef16a00dc818f1d8e402877184dadf331f1b0dd1fbfeeb2698ee8647f4d
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
}
}