wok-next view poppler/receipt @ rev 6483

Added perl to glib-dev depends since its need for glib-mkenums to work.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Sep 30 04:11:49 2010 +0000 (2010-09-30)
parents 49e501a55595
children 4321f1d3889f
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.14.3"
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 -j 4 &&
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 }