wok-next view poppler/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 757d032c55c7 |
children | d08d2d235af0 |
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 compile_rules() {
19 ./configure \
20 --disable-static \
21 --enable-build-type=release \
22 --enable-cmyk \
23 --enable-xpdf-headers \
24 --with-testdatadir=$PWD/testfiles \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install || return 1
30 cook_pick_docs README* glib/reference/html/
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 poppler)
36 copy *.so*
37 DEPENDS="cairo fontconfig freetype glib lcms2 libjpeg-turbo \
38 libpng16 tiff zlib"
39 ;;
40 poppler-apps)
41 copy bin/
42 CAT="office|utilities to manipulate PDF file"
43 DEPENDS="poppler cairo freetype lcms2 zlib"
44 ;;
45 poppler-dev)
46 copy @dev @rm
47 DEPENDS="poppler poppler-apps cairo-dev glib-dev"
48 ;;
49 esac
50 }