2012-09-03 10:10:30 +02:00
|
|
|
# Template file for 'qpdf'
|
|
|
|
pkgname=qpdf
|
2012-09-07 09:30:54 +02:00
|
|
|
version=3.0.2
|
2014-02-17 16:33:04 +01:00
|
|
|
revision=3
|
2012-09-03 10:10:30 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2013-04-14 11:26:34 +02:00
|
|
|
hostmakedepends="perl"
|
|
|
|
makedepends="pcre-devel"
|
2012-09-03 10:10:30 +02:00
|
|
|
short_desc="A Content-Preserving PDF Transformation System"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="Artistic-2.0"
|
|
|
|
homepage="http://qpdf.sourceforget.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/qpdf/qpdf-${version}.tar.gz"
|
2012-09-07 09:30:54 +02:00
|
|
|
checksum=b0c284945a49c46a0da6f54b06ff25237491ccc0c8bb062ae57d30aee80e165e
|
2013-04-14 11:26:34 +02:00
|
|
|
|
2014-05-15 17:15:20 +02:00
|
|
|
post_install() {
|
|
|
|
vinstall Artistic-2.0 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
|
|
|
|
2013-04-14 11:26:34 +02:00
|
|
|
libqpdf_package() {
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - shared library"
|
2013-04-14 11:26:34 +02:00
|
|
|
pkg_install() {
|
2014-02-17 16:33:04 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 11:26:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libqpdf-devel_package() {
|
2014-02-17 16:33:04 +01:00
|
|
|
depends="libqpdf>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 11:26:34 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-17 16:33:04 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 11:26:34 +02:00
|
|
|
}
|
|
|
|
}
|