wok-6.x view poppler/receipt @ rev 14086
Up: emacs-pkg-lua-mode: tidy receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Feb 22 21:14:47 2013 +0100 (2013-02-22) |
parents | 02337c58bb22 |
children | d99b8aa85966 |
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.22.0"
5 CATEGORY="office"
6 SHORT_DESC="Poppler is a PDF rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://poppler.freedesktop.org/"
10 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
12 DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \
13 gcc-lib-base cairo tiff bzlib libpng"
14 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \
15 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
16 automake bzip2-dev libpng-dev libtool Qt4-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 #patch -Np1 -i $stuff/git-fixes.patch
23 autoreconf -fi
24 ./configure \
25 --enable-zlib \
26 --enable-cairo-output \
27 --enable-poppler-qt4 \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 #following libs are included in poppler-qt4
38 rm -r $fs/usr/lib/*qt4.so*
39 }