wok-stable view poppler/receipt @ rev 4995
Up: task (1.9.0) - thanks devs
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 27 19:35:45 2010 +0000 (2010-02-27) |
parents | 42992e98db46 |
children | f3327707164a |
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 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \
10 freetype-dev fontconfig-dev glib-dev Qt4-dev lcms-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 }