void-packages/srcpkgs/qpdf/template

35 lines
853 B
Bash
Raw Normal View History

2012-09-03 08:10:30 +00:00
# Template file for 'qpdf'
pkgname=qpdf
2015-05-25 06:35:00 +00:00
version=5.1.3
2014-09-22 14:00:00 +00:00
revision=1
2012-09-03 08:10:30 +00:00
build_style=gnu-configure
configure_args="--disable-static --with-random=/dev/urandom"
hostmakedepends="perl"
makedepends="pcre-devel"
2012-09-03 08:10:30 +00:00
short_desc="A Content-Preserving PDF Transformation System"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-09-03 08:10:30 +00:00
license="Artistic-2.0"
homepage="http://qpdf.sourceforget.net"
2014-09-22 14:00:00 +00:00
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
2015-05-25 06:35:00 +00:00
checksum=d5164bdad3afc381568dbe8e1509a4a6a911d4d077f1fc20b9866ef8fad901d3
post_install() {
2014-09-22 14:00:00 +00:00
vlicense Artistic-2.0
}
libqpdf_package() {
short_desc+=" - shared library"
pkg_install() {
2014-02-17 15:33:04 +00:00
vmove "usr/lib/*.so.*"
}
}
libqpdf-devel_package() {
2014-02-17 15:33:04 +00:00
depends="libqpdf>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-17 15:33:04 +00:00
vmove "usr/lib/*.so"
}
}