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

slitaz-dev-tools: needs rsync as depend.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Feb 09 16:14:57 2011 +0000 (2011-02-09)
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 }