wok-current view poppler/receipt @ rev 4431

subversion: update depends
author Paul Issott <paul@slitaz.org>
date Mon Oct 26 19:35:45 2009 +0000 (2009-10-26)
parents c1c447457d4c
children d3eca578f816
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"
9 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \
10 freetype-dev fontconfig-dev glib-dev Qt4-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://poppler.freedesktop.org/"
13 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --enable-zlib \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 # Remove qt4 libs --> poppler-qt4
35 rm $fs/usr/lib/*qt4.so*
36 }