diff --git a/common/shlibs b/common/shlibs index 64e7869170..e3492406f3 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2429,3 +2429,4 @@ libkdevplatformdocumentation.so.8 kdevplatform-1.7.3_1 libkdevplatformoutputview.so.8 kdevplatform-1.7.3_1 libkdevplatformvcs.so.8 kdevplatform-1.7.3_1 libkdevplatforminterfaces.so.8 kdevplatform-1.7.3_1 +libts-1.0.so.0 tslib-1.1_1 diff --git a/srcpkgs/tslib-devel b/srcpkgs/tslib-devel new file mode 120000 index 0000000000..4d5ae5c4dc --- /dev/null +++ b/srcpkgs/tslib-devel @@ -0,0 +1 @@ +tslib \ No newline at end of file diff --git a/srcpkgs/tslib-tools b/srcpkgs/tslib-tools new file mode 120000 index 0000000000..4d5ae5c4dc --- /dev/null +++ b/srcpkgs/tslib-tools @@ -0,0 +1 @@ +tslib \ No newline at end of file diff --git a/srcpkgs/tslib/template b/srcpkgs/tslib/template new file mode 100644 index 0000000000..9d6b9ebc48 --- /dev/null +++ b/srcpkgs/tslib/template @@ -0,0 +1,38 @@ +# Template file for 'tslib' +pkgname=tslib +version=1.1 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" +short_desc="Touchscreen access library" +maintainer="Jürgen Buchmüller " +license="GPL-2" +homepage="https://github.com/kergoth/tslib" +distfiles="https://github.com/kergoth/tslib/releases/download/${version}/${pkgname}-${version}.tar.xz" +checksum=fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c + +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 + } +}