twaindsm: update to 2.3.1

This commit is contained in:
Jürgen Buchmüller 2016-07-08 01:49:33 +02:00
parent e9ab5fe59a
commit 22a1099845

View file

@ -1,9 +1,9 @@
# Template file for 'twaindsm'
pkgname=twaindsm
version=2.3.0
revision=3
version=2.3.1
revision=1
wrksrc="${pkgname}-${version}.orig"
build_wrksrc="src"
build_wrksrc="TWAIN_DSM/src"
build_style=cmake
hostmakedepends="doxygen unzip"
short_desc="TWAIN data source manager"
@ -11,14 +11,14 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
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
checksum=892f6c9645c37a09127513654e1af1be41d742969f6bdfb99ff273429c5b65ac
pre_configure() {
sed -i CMakeLists.txt -e's; -Werror;;'
}
post_build() {
cd ${wrksrc}
cd ${wrksrc}/TWAIN_DSM
# Fix backslash in pathname
sed -i Doxyfile -e's;.\\src;./src;g'
# Update Doxyfile
@ -41,6 +41,6 @@ twaindsm-doc_package() {
noarch=yes
pkg_install() {
vmkdir usr/share/doc/${pkgname}
mv ${wrksrc}/doc/html ${PKGDESTDIR}/usr/share/doc/${pkgname}
mv ${wrksrc}/TWAIN_DSM/doc/html ${PKGDESTDIR}/usr/share/doc/${pkgname}
}
}