35 lines
827 B
Bash
35 lines
827 B
Bash
# Template file for 'qpdf'
|
|
pkgname=qpdf
|
|
version=7.1.1
|
|
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="Artistic-2.0"
|
|
homepage="http://qpdf.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=8a0dbfa000a5c257abbc03721c7be277920fe0fcff08202b61c9c2464eedf2fa
|
|
|
|
post_install() {
|
|
vlicense Artistic-2.0
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|