mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-19 15:41:51 +01:00
36 lines
860 B
Plaintext
36 lines
860 B
Plaintext
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=tslib
|
|
pkgver=1.19
|
|
pkgrel=0
|
|
pkgdesc="Touchscreen Access Library"
|
|
arch="all"
|
|
url="https://github.com/kergoth/tslib"
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="autoconf automake libtool linux-headers"
|
|
source="https://github.com/kergoth/tslib/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
|
|
prepare() {
|
|
cd "$builddir"
|
|
default_prepare
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${builddir}"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${builddir}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
sha512sums="01762e470deb988f31b5719d4e63445c0656a39b217f6016de824ddf70c4d6398ae5e53338bc2e4e6a917c60dc2e2f7469557946527a8e0ae4c4154c80c0981c tslib-1.19.tar.xz"
|