32 lines
886 B
Bash
32 lines
886 B
Bash
# Template file for 'qpdf'
|
|
pkgname=qpdf
|
|
version=9.0.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="perl"
|
|
makedepends="pcre-devel libjpeg-turbo-devel"
|
|
short_desc="Content-Preserving PDF Transformation System"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="http://qpdf.sourceforge.net"
|
|
changelog="https://raw.githubusercontent.com/qpdf/qpdf/master/ChangeLog"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=d02451d906068947f45e5216032f0f29ae53313c70c4deedcf3c3e173584d22c
|
|
|
|
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"
|
|
}
|
|
}
|