wok-next view qpdf/receipt @ rev 20671

qemu, qemu-light: define prefix
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:51:17 2018 +0300 (2018-05-11)
parents 10df65db91ad
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qpdf"
4 VERSION="7.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="QPDF: A Content-Preserving PDF Transformation System"
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="Artistic-2.0"
9 WEB_SITE="http://qpdf.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/qpdf.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="zlib-dev libjpeg-turbo-dev fop libxslt libxml2-tools"
16 SPLIT="qpdf-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 qpdf)
30 copy @std
31 DEPENDS="libjpeg-turbo zlib"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="qpdf libjpeg-turbo-dev zlib-dev"
36 ;;
37 esac
38 }