wok-next view poppler/receipt @ rev 21098

poppler: provide lib$PACKAGE for libs like some other packages do
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 01 15:48:26 2019 +0200 (2019-01-01)
parents 75632eca5b07
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="poppler"
4 VERSION="0.72.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"
14 TARBALL_SHA1="34d3035eef26bf54cf847925a5b69bd0bf75c672"
16 BUILD_DEPENDS="cmake freetype-dev fontconfig-dev libjpeg-turbo-dev zlib-dev \
17 libpng-dev tiff-dev nss-dev cairo-dev gobject-introspection-dev gtk3-dev \
18 gdk-pixbuf-dev openjpeg2-dev lcms2-dev curl-dev poppler-data"
19 SPLIT="lib$PACKAGE $PACKAGE $PACKAGE-dev"
21 DEPENDS_libpoppler="cairo fontconfig freetype glib lcms2 libcurl libjpeg-turbo \
22 libpng nspr nss openjpeg2 libtiff zlib"
23 DEPENDS_std="lib$PACKAGE cairo freetype lcms2"
24 DEPENDS_dev="$PACKAGE lib$PACKAGE cairo-dev glib-dev"
26 compile_rules() {
27 mkdir build
28 cd build
30 cmake \
31 -DCMAKE_BUILD_TYPE=Release \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DTESTDATADIR=$PWD/test \
34 -DENABLE_XPDF_HEADERS=ON \
35 .. &&
36 make &&
37 make install || return 1
39 cook_pick_docs ../glib/reference/html
40 }