void-packages/srcpkgs/qpdf/template
2020-02-16 19:06:10 +01:00

33 lines
930 B
Bash

# Template file for 'qpdf'
pkgname=qpdf
version=9.1.1
revision=1
wrksrc="qpdf-release-qpdf-${version}"
build_style=gnu-configure
hostmakedepends="gettext tar"
makedepends="pcre-devel libjpeg-turbo-devel"
short_desc="Content-Preserving PDF Transformation System"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/qpdf/qpdf"
changelog="https://raw.githubusercontent.com/qpdf/qpdf/master/ChangeLog"
distfiles="${homepage}/archive/release-qpdf-${version}.tar.gz"
checksum=c5f859cf7f344e6a2415e02524acb19cdabbbdb634d1c3bf68d2fc26ae561a82
libqpdf_package() {
short_desc+=" - shared library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libqpdf-devel_package() {
depends="libqpdf>=${version}_${revision} libjpeg-turbo zlib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}