34 lines
853 B
Bash
34 lines
853 B
Bash
# Template file for 'qpdf'
|
|
pkgname=qpdf
|
|
version=5.1.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --with-random=/dev/urandom"
|
|
hostmakedepends="perl"
|
|
makedepends="pcre-devel"
|
|
short_desc="A Content-Preserving PDF Transformation System"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="Artistic-2.0"
|
|
homepage="http://qpdf.sourceforget.net"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=d5164bdad3afc381568dbe8e1509a4a6a911d4d077f1fc20b9866ef8fad901d3
|
|
|
|
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/*.so"
|
|
}
|
|
}
|