2012-09-03 08:10:30 +00:00
|
|
|
# Template file for 'qpdf'
|
|
|
|
pkgname=qpdf
|
2014-09-22 14:00:00 +00:00
|
|
|
version=5.1.2
|
|
|
|
revision=1
|
2012-09-03 08:10:30 +00:00
|
|
|
build_style=gnu-configure
|
2014-09-22 14:24:31 +00:00
|
|
|
configure_args="--disable-static --with-random=/dev/urandom"
|
2013-04-14 09:26:34 +00:00
|
|
|
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@gmail.com>"
|
|
|
|
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"
|
|
|
|
checksum=e9dd8d5d0a322078ffd573f057f03d24a734cc5b7dd925b089ebcb0f6e867bfd
|
2013-04-14 09:26:34 +00:00
|
|
|
|
2014-05-15 15:15:20 +00:00
|
|
|
post_install() {
|
2014-09-22 14:00:00 +00:00
|
|
|
vlicense Artistic-2.0
|
2014-05-15 15:15:20 +00:00
|
|
|
}
|
|
|
|
|
2013-04-14 09:26:34 +00:00
|
|
|
libqpdf_package() {
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - shared library"
|
2013-04-14 09:26:34 +00:00
|
|
|
pkg_install() {
|
2014-02-17 15:33:04 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 09:26:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libqpdf-devel_package() {
|
2014-02-17 15:33:04 +00:00
|
|
|
depends="libqpdf>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 09:26:34 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-17 15:33:04 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 09:26:34 +00:00
|
|
|
}
|
|
|
|
}
|