wok-next annotate qpdf/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
rev   line source
al@20456 1 # SliTaz package receipt v2.
mojo@17840 2
mojo@17840 3 PACKAGE="qpdf"
al@20648 4 VERSION="7.1.1"
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@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/qpdf.html"
al@19681 11
mojo@17840 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
mojo@17840 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
mojo@17840 14
al@20648 15 BUILD_DEPENDS="zlib-dev libjpeg-turbo-dev fop libxslt libxml2-tools"
al@21020 16 SPLIT="$PACKAGE-dev"
mojo@17840 17
al@20456 18 compile_rules() {
al@19681 19 ./configure \
al@19681 20 --disable-static \
al@19681 21 $CONFIGURE_ARGS &&
al@20604 22 fix libtool &&
al@20557 23 make &&
al@20557 24 make install
mojo@17840 25 }
mojo@17840 26
al@20456 27 genpkg_rules() {
al@20456 28 case $PACKAGE in
al@20456 29 qpdf)
al@20557 30 copy @std
al@20648 31 DEPENDS="libjpeg-turbo zlib"
al@20456 32 ;;
al@20456 33 *-dev)
al@20557 34 copy @dev
al@20648 35 DEPENDS="qpdf libjpeg-turbo-dev zlib-dev"
al@20456 36 ;;
al@20456 37 esac
mojo@17840 38 }