From 2154ad8883ff35ddf9207036d59f83188e301e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 4 Jul 2016 22:35:29 +0200 Subject: [PATCH] New package: twaindsm-2.3.0 --- common/shlibs | 1 + srcpkgs/twaindsm-devel | 1 + srcpkgs/twaindsm/template | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 120000 srcpkgs/twaindsm-devel create mode 100644 srcpkgs/twaindsm/template diff --git a/common/shlibs b/common/shlibs index 361771560c1..3fe6e9e8b3f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2480,3 +2480,4 @@ liblttng-ust-cyg-profile.so.0 lttng-ust-2.7.2_1 liblttng-ust-cyg-profile-fast.so.0 lttng-ust-2.7.2_1 liblttng-ust-dl.so.0 lttng-ust-2.7.2_1 liblttng-ust-tracepoint.so.0 lttng-ust-2.7.2_1 +libtwaindsm.so.2 twaindsm-2.3.0_1 diff --git a/srcpkgs/twaindsm-devel b/srcpkgs/twaindsm-devel new file mode 120000 index 00000000000..37278c438e5 --- /dev/null +++ b/srcpkgs/twaindsm-devel @@ -0,0 +1 @@ +twaindsm \ No newline at end of file diff --git a/srcpkgs/twaindsm/template b/srcpkgs/twaindsm/template new file mode 100644 index 00000000000..5f9e833713c --- /dev/null +++ b/srcpkgs/twaindsm/template @@ -0,0 +1,27 @@ +# Template file for 'twaindsm' +pkgname=twaindsm +version=2.3.0 +revision=1 +wrksrc="${pkgname}-${version}.orig" +build_wrksrc="src" +build_style=cmake +hostmakedepends="unzip" +short_desc="TWAIN data source manager" +maintainer="Jürgen Buchmüller " +license="LGPL-2.1" +homepage="http://www.twain.org" +distfiles="$SOURCEFORGE_SITE/twain-dsm/TWAIN%20DSM%20${version%.*.*}%20Source/${pkgname}-${version}.source.zip" +checksum=9a51ba95b1e51bb5a5fb855799d802269c147b2ba362e030150b1c9980f988ce + +pre_configure() { + sed -i CMakeLists.txt -e's; -Werror;;' +} + +twaindsm-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/lib/*.so + vmove usr/include + } +}