wok-next annotate 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 |
rev | line source |
---|---|
al@19797 | 1 # SliTaz package receipt v2. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="poppler" |
al@19797 | 4 VERSION="0.51.0" |
pankso@205 | 5 CATEGORY="office" |
al@19681 | 6 SHORT_DESC="PDF rendering library" |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@19681 | 9 WEB_SITE="https://poppler.freedesktop.org/" |
al@19681 | 10 |
al@16625 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@27 | 12 WGET_URL="http://poppler.freedesktop.org/$TARBALL" |
pankso@27 | 13 |
al@19797 | 14 BUILD_DEPENDS="tiff-dev zlib-dev libjpeg-turbo-dev libpng16-dev freetype-dev \ |
al@19681 | 15 fontconfig-dev cairo-dev lcms2-dev" |
al@19797 | 16 SPLIT="poppler-apps poppler-dev" |
slaxemulator@10338 | 17 |
al@20534 | 18 compile_rules() { |
pankso@725 | 19 ./configure \ |
al@19681 | 20 --disable-static \ |
al@19681 | 21 --enable-build-type=release \ |
al@19681 | 22 --enable-cmyk \ |
al@19681 | 23 --enable-xpdf-headers \ |
al@19681 | 24 --with-testdatadir=$PWD/testfiles \ |
slaxemulator@10338 | 25 $CONFIGURE_ARGS && |
al@20604 | 26 fix libtool && |
al@20534 | 27 make && |
al@20534 | 28 make install || return 1 |
al@19681 | 29 |
al@20534 | 30 cook_pick_docs README* glib/reference/html/ |
pankso@27 | 31 } |
pankso@27 | 32 |
al@20534 | 33 genpkg_rules() { |
al@19797 | 34 case $PACKAGE in |
al@19797 | 35 poppler) |
al@19797 | 36 copy *.so* |
al@19797 | 37 DEPENDS="cairo fontconfig freetype glib lcms2 libjpeg-turbo \ |
al@19797 | 38 libpng16 tiff zlib" |
al@19797 | 39 ;; |
al@19797 | 40 poppler-apps) |
al@19797 | 41 copy bin/ |
al@19797 | 42 CAT="office|utilities to manipulate PDF file" |
al@19797 | 43 DEPENDS="poppler cairo freetype lcms2 zlib" |
al@19797 | 44 ;; |
al@19797 | 45 poppler-dev) |
al@20513 | 46 copy @dev @rm |
al@19797 | 47 DEPENDS="poppler poppler-apps cairo-dev glib-dev" |
al@19797 | 48 ;; |
al@19797 | 49 esac |
pankso@27 | 50 } |