wok-next view poppler/receipt @ rev 8922
Fix gob2: add bdep flex
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 01 02:33:54 2011 +0100 (2011-03-01) |
parents | d64035aa669a |
children | 2200fd2b3ebb |
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.14.5"
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"
10 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \
11 freetype-dev fontconfig-dev glib-dev Qt4-dev lcms-dev zlib-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 }