wok-next view poppler/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | f463de72afe3 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="poppler"
4 VERSION="0.51.0"
5 CATEGORY="office"
6 SHORT_DESC="PDF rendering library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://poppler.freedesktop.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
14 BUILD_DEPENDS="tiff-dev zlib-dev libjpeg-turbo-dev libpng16-dev freetype-dev \
15 fontconfig-dev cairo-dev lcms2-dev"
16 SPLIT="poppler-apps poppler-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --disable-static \
24 --enable-build-type=release \
25 --enable-cmyk \
26 --enable-xpdf-headers \
27 --with-testdatadir=$PWD/testfiles \
28 $CONFIGURE_ARGS &&
29 make && make install &&
31 docdir="$install/usr/share/doc/poppler-$VERSION" &&
32 install -v -m755 -d $docdir &&
33 install -v -m644 README* $docdir &&
34 cp -vr glib/reference/html $docdir
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 poppler)
42 copy *.so*
43 DEPENDS="cairo fontconfig freetype glib lcms2 libjpeg-turbo \
44 libpng16 tiff zlib"
45 ;;
46 poppler-apps)
47 copy bin/
48 CAT="office|utilities to manipulate PDF file"
49 DEPENDS="poppler cairo freetype lcms2 zlib"
50 ;;
51 poppler-dev)
52 copy @dev
53 remove_already_packed
54 DEPENDS="poppler poppler-apps cairo-dev glib-dev"
55 ;;
56 esac
57 }