wok-next view poppler/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents 5669e8b3be70
children 6f5739796e82
line source
1 # SliTaz package receipt v2.
3 PACKAGE="poppler"
4 VERSION="0.68.0"
5 CATEGORY="office"
6 SHORT_DESC="PDF rendering library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://poppler.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/poppler.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://poppler.freedesktop.org/$TARBALL"
15 BUILD_DEPENDS="cmake freetype-dev fontconfig-dev libjpeg-turbo-dev zlib-dev \
16 libpng-dev tiff-dev nss-dev cairo-dev gobject-introspection-dev gtk3-dev \
17 gdk-pixbuf-dev openjpeg2-dev lcms2-dev curl-dev poppler-data"
18 SPLIT="$PACKAGE-apps $PACKAGE-dev"
20 compile_rules() {
21 fix math
23 mkdir build
24 cd build
26 cmake \
27 -DCMAKE_BUILD_TYPE=Release \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DTESTDATADIR=$PWD/test \
30 -DENABLE_XPDF_HEADERS=ON \
31 .. &&
32 make &&
33 make install || return 1
35 cook_pick_docs ../glib/reference/html
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 poppler)
41 copy *.so*
42 DEPENDS="cairo fontconfig freetype glib lcms2 libcurl \
43 libjpeg-turbo libpng nspr nss openjpeg2 libtiff zlib"
44 ;;
45 *-apps)
46 copy bin/
47 CAT="office|utilities to manipulate PDF file"
48 DEPENDS="cairo freetype lcms2 poppler"
49 ;;
50 *-dev)
51 copy @dev @rm
52 DEPENDS="poppler poppler-apps cairo-dev glib-dev"
53 ;;
54 esac
55 }