wok-current view poppler/receipt @ rev 14154
Add n2n
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 04 21:27:20 2013 +0100 (2013-03-04) |
parents | 040e376db2cd |
children | 408c87fa22ca |
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.22.1"
5 CATEGORY="office"
6 SHORT_DESC="Poppler is a PDF rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://poppler.freedesktop.org/"
10 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
12 DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \
13 gcc-lib-base cairo tiff bzlib libpng"
14 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \
15 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
16 automake bzip2-dev libpng-dev libtool Qt4-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 autoreconf -fi
22 ./configure \
23 --enable-zlib \
24 --enable-cairo-output \
25 --enable-poppler-qt4 \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 #following libs are included in poppler-qt4
36 rm -r $fs/usr/lib/*qt4.so*
37 }