wok view poppler/receipt @ rev 19066
It works, but needs review and improvement. Thank you.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Apr 21 06:32:59 2016 -0300 (2016-04-21) |
parents | b4ba409d5d3d |
children | 0cd8ffbd0ae1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.34.0"
5 CATEGORY="office"
6 SHORT_DESC="Poppler is a PDF rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://poppler.freedesktop.org/"
11 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
13 DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \
14 gcc-lib-base cairo tiff bzlib libpng"
15 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \
16 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
17 automake bzip2-dev libpng-dev libtool Qt4-dev libxml2-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 autoreconf -fi
23 ./configure \
24 --enable-zlib \
25 --enable-cairo-output \
26 --enable-poppler-qt4 \
27 --disable-libopenjpeg \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 #following libs are included in poppler-qt4
38 rm -r $fs/usr/lib/*qt4.so*
39 }