wok-next view poppler/receipt @ rev 20726
python: remove previously added '--without-ensurepip' (it made an opposite action)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 28 15:07:14 2018 +0300 (2018-05-28) |
parents | 10df65db91ad |
children | 94b1769614d9 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="poppler"
4 VERSION="0.62.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/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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 libpng16-dev tiff-dev nss-dev cairo-dev gobject-introspection-dev gtk+3-dev \
17 gdk-pixbuf-dev openjpeg2-dev lcms2-dev curl-dev poppler-data"
18 SPLIT="poppler-apps poppler-dev"
20 compile_rules() {
21 mkdir build
22 cd build
24 cmake \
25 -DCMAKE_BUILD_TYPE=Release \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 -DTESTDATADIR=$PWD/testfiles \
28 -DENABLE_XPDF_HEADERS=ON \
29 .. &&
30 make &&
31 make install || return 1
33 cook_pick_docs ../glib/reference/html
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 poppler)
39 copy *.so*
40 DEPENDS="cairo fontconfig freetype glib lcms2 libcurl \
41 libjpeg-turbo libpng16 nspr nss openjpeg2 tiff zlib"
42 ;;
43 poppler-apps)
44 copy bin/
45 CAT="office|utilities to manipulate PDF file"
46 DEPENDS="cairo freetype lcms2 poppler"
47 ;;
48 poppler-dev)
49 copy @dev @rm
50 DEPENDS="poppler poppler-apps cairo-dev glib-dev"
51 ;;
52 esac
53 }