wok-next annotate poppler/receipt @ rev 14140
libnet(-dev): up 1.1.6
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 01 08:15:54 2013 -0800 (2013-03-01) |
parents | 02337c58bb22 |
children | d99b8aa85966 |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="poppler" |
monghitri@13983 | 4 VERSION="0.22.0" |
pankso@205 | 5 CATEGORY="office" |
pankso@27 | 6 SHORT_DESC="Poppler is a PDF rendering library." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@27 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@27 | 9 WEB_SITE="http://poppler.freedesktop.org/" |
pankso@27 | 10 WGET_URL="http://poppler.freedesktop.org/$TARBALL" |
pankso@27 | 11 |
gokhlayeh@11494 | 12 DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \ |
pankso@11875 | 13 gcc-lib-base cairo tiff bzlib libpng" |
slaxemulator@11871 | 14 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \ |
slaxemulator@11871 | 15 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \ |
monghitri@13987 | 16 automake bzip2-dev libpng-dev libtool Qt4-dev" |
slaxemulator@10338 | 17 |
pankso@27 | 18 # Rules to configure and make the package. |
pankso@27 | 19 compile_rules() |
pankso@27 | 20 { |
pankso@27 | 21 cd $src |
slaxemulator@11871 | 22 #patch -Np1 -i $stuff/git-fixes.patch |
gokhlayeh@11494 | 23 autoreconf -fi |
pankso@725 | 24 ./configure \ |
slaxemulator@10338 | 25 --enable-zlib \ |
slaxemulator@11871 | 26 --enable-cairo-output \ |
monghitri@13987 | 27 --enable-poppler-qt4 \ |
slaxemulator@10338 | 28 $CONFIGURE_ARGS && |
slaxemulator@10338 | 29 make && make install |
pankso@27 | 30 } |
pankso@27 | 31 |
pankso@27 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 33 genpkg_rules() |
pankso@27 | 34 { |
pankso@27 | 35 mkdir -p $fs/usr/lib |
pankso@27 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
monghitri@13987 | 37 #following libs are included in poppler-qt4 |
monghitri@13987 | 38 rm -r $fs/usr/lib/*qt4.so* |
pankso@27 | 39 } |