void-packages/srcpkgs/qpdf/template

31 lines
782 B
Bash

# Template file for 'qpdf'
pkgname=qpdf
version=8.0.2
revision=1
build_style=gnu-configure
hostmakedepends="perl"
makedepends="pcre-devel libjpeg-turbo-devel"
short_desc="A Content-Preserving PDF Transformation System"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="http://qpdf.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b09e1730b515956903866619b466da359cc051ae8c9d8690d8e7a2aca493c8c1
libqpdf_package() {
short_desc+=" - shared library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libqpdf-devel_package() {
depends="libqpdf>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}