wok-next annotate qpdf/receipt @ rev 20488

palemoon: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 11:00:54 2018 +0100 (2018-03-12)
parents f463de72afe3
children 9e5dca6702bf
rev   line source
al@20456 1 # SliTaz package receipt v2.
mojo@17840 2
mojo@17840 3 PACKAGE="qpdf"
al@19681 4 VERSION="6.0.0"
mojo@17840 5 CATEGORY="system-tools"
mojo@17840 6 SHORT_DESC="QPDF: A Content-Preserving PDF Transformation System"
mojo@17840 7 MAINTAINER="mojo@slitaz.org"
mojo@17840 8 LICENSE="Artistic-2.0"
mojo@17840 9 WEB_SITE="http://qpdf.sourceforge.net/"
al@19681 10
mojo@17840 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
mojo@17840 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
mojo@17840 13
al@19681 14 BUILD_DEPENDS="zlib-dev pcre-dev"
al@20456 15 SPLIT="qpdf-dev"
mojo@17840 16
al@20456 17 compile_rules() {
al@19681 18 ./configure \
al@19681 19 --disable-static \
al@19681 20 --docdir=/usr/share/doc/qpdf-$VERSION \
al@19681 21 $CONFIGURE_ARGS &&
al@19681 22 make && make install
mojo@17840 23 }
mojo@17840 24
al@20456 25 genpkg_rules() {
al@20456 26 case $PACKAGE in
al@20456 27 qpdf)
al@20456 28 copy bin/ *.so*
al@20456 29 DEPENDS="pcre zlib"
al@20456 30 ;;
al@20456 31 *-dev)
al@20456 32 copy *.h *.hh *.la *.pc
al@20456 33 ;;
al@20456 34 esac
mojo@17840 35 }