dc5f12a6d3
Upstream finally changed to a sane shlib version scheme.
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'tslib'
|
|
pkgname=tslib
|
|
version=1.6
|
|
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=b9fbb93984d02506c5a944d475d0bf7f19473a111e547f523328138ed5c6e02b
|
|
|
|
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
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|