wok-current view poppler/receipt @ rev 5005

p*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 17:01:48 2010 +0100 (2010-02-28)
parents d3eca578f816
children ec066bd77049
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.12.0"
5 CATEGORY="office"
6 SHORT_DESC="Poppler is a PDF rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \
9 gcc-lib-base gtk+ cairo-xcb"
10 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \
11 freetype-dev fontconfig-dev glib-dev Qt4-dev lcms-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://poppler.freedesktop.org/"
14 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --enable-zlib \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/lib/*.so* $fs/usr/lib
35 # Remove qt4 libs --> poppler-qt4
36 rm $fs/usr/lib/*qt4.so*
37 }