wok-6.x view poppler/receipt @ rev 11875

poppler: remove poppler-data (not needed to view PDF document) and save 1,4 Mb on core
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 28 00:29:35 2012 +0100 (2012-02-28)
parents 2ef59f6bb8d1
children 02337c58bb22
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.18.3"
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"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 #patch -Np1 -i $stuff/git-fixes.patch
23 autoreconf -fi
24 ./configure \
25 --enable-zlib \
26 --enable-cairo-output \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }