tslib: update to 1.12

This commit is contained in:
Jürgen Buchmüller 2017-09-01 13:09:27 +02:00
parent 0b6724deeb
commit 3433bfde30

View file

@ -1,23 +1,14 @@
# Template file for 'tslib'
pkgname=tslib
version=1.11
version=1.12
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Touchscreen access library"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="https://github.com/kergoth/tslib"
distfiles="https://github.com/kergoth/tslib/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=90d22b2f1b6dc9899d9491bc0480dfdcb2b55ff6e620ebb999d607aa5389af06
pre_configure() {
sed -i configure.ac -e "5iAC_CONFIG_MACRO_DIRS([m4/internal])"
sed -i Makefile.am -e "s;^\(AUTOMAKE_OPTIONS.*\);\1 subdir-objects;"
sed -i src/Makefile.am -e "/AM_CFLAGS/i AUTOMAKE_OPTIONS = subdir-objects"
sed -i plugins/Makefile.am tests/Makefile.am -e "s;^INCLUDES;AM_CPPFLAGS;"
autoreconf -if
}
checksum=237f66c9e53789429b1bcc89a36eb7a37f1deb2877e6e7d928e994e3c48d0b83
tslib-tools_package() {
short_desc+=" - command line tools"