wok-current annotate poppler/receipt @ rev 16625
Up: poppler (0.26.0); Add: copyq, libspectre, qpdfview (currently need debug).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 09 20:45:01 2014 +0300 (2014-05-09) |
parents | 6cc05d5dfd42 |
children | b4ba409d5d3d |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="poppler" |
al@16625 | 4 VERSION="0.26.0" |
pankso@205 | 5 CATEGORY="office" |
pankso@27 | 6 SHORT_DESC="Poppler is a PDF rendering library." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@16625 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@27 | 10 WEB_SITE="http://poppler.freedesktop.org/" |
pankso@27 | 11 WGET_URL="http://poppler.freedesktop.org/$TARBALL" |
pankso@27 | 12 |
gokhlayeh@11494 | 13 DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \ |
pankso@11875 | 14 gcc-lib-base cairo tiff bzlib libpng" |
slaxemulator@11871 | 15 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \ |
slaxemulator@11871 | 16 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \ |
pascal@15010 | 17 automake bzip2-dev libpng-dev libtool Qt4-dev libxml2-dev" |
slaxemulator@10338 | 18 |
pankso@27 | 19 # Rules to configure and make the package. |
pankso@27 | 20 compile_rules() |
pankso@27 | 21 { |
gokhlayeh@11494 | 22 autoreconf -fi |
pankso@725 | 23 ./configure \ |
slaxemulator@10338 | 24 --enable-zlib \ |
slaxemulator@11871 | 25 --enable-cairo-output \ |
monghitri@13987 | 26 --enable-poppler-qt4 \ |
slaxemulator@10338 | 27 $CONFIGURE_ARGS && |
slaxemulator@10338 | 28 make && make install |
pankso@27 | 29 } |
pankso@27 | 30 |
pankso@27 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 32 genpkg_rules() |
pankso@27 | 33 { |
pankso@27 | 34 mkdir -p $fs/usr/lib |
samuel_trassare@14147 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
monghitri@13987 | 36 #following libs are included in poppler-qt4 |
monghitri@13987 | 37 rm -r $fs/usr/lib/*qt4.so* |
pankso@27 | 38 } |