void-packages/srcpkgs/scantailor/template

28 lines
988 B
Bash
Raw Normal View History

2015-04-30 07:07:12 +02:00
# Template file for 'scantailor'
pkgname=scantailor
version=0.9.11.1
revision=1
wrksrc=${pkgname}-RELEASE_${version//./_}
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="libpng-devel tiff-devel boost-devel qt-devel libXrender-devel"
depends="libGL"
short_desc="Interactive post-processing for scans"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="http://scantailor.org/"
distfiles="http://github.com/${pkgname}/${pkgname}/archive/RELEASE_${version//./_}.tar.gz>${pkgname}-${version}_${revision}.tar.gz"
checksum=1555e604eb648e47e03a28484ca9e840dec5c1e3be8ea5503d616424c4f306fc
pre_configure() {
# Hint cmake where to the the qmake
configure_args+=" -DQT_QMAKE_EXECUTABLE=${XBPS_CROSS_BASE}/usr/lib/qt/bin/qmake"
echo "configure_args: ${configure_args}"
}
post_install() {
vinstall resources/icons/appicon-about.png 644 \
usr/share/pixmaps ${pkgname}.png
vinstall ${FILESDIR}/${pkgname}.desktop 644 \
usr/share/applications
}