aboutsummaryrefslogtreecommitdiffstats
path: root/main/tslib/APKBUILD
blob: 23e9acc6f42dee251f8e56a5752a2451c5512947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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"