wok-next view poppler/receipt @ rev 15362

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 13:07:29 2013 +0000 (2013-10-02)
parents 408c87fa22ca
children 8609b5c4b762
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.22.1"
5 CATEGORY="office"
6 SHORT_DESC="Poppler is a PDF rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://poppler.freedesktop.org/"
11 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
13 DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \
14 gcc-lib-base cairo tiff bzlib libpng"
15 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \
16 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
17 automake bzip2-dev libpng-dev libtool Qt4-dev libxml2-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 autoreconf -fi
23 ./configure \
24 --enable-zlib \
25 --enable-cairo-output \
26 --enable-poppler-qt4 \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 #following libs are included in poppler-qt4
37 rm -r $fs/usr/lib/*qt4.so*
38 }