wok-6.x annotate poppler/receipt @ rev 8688
Fix bdep: spandsp need intltool to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Feb 17 18:59:56 2011 +0100 (2011-02-17) |
parents | d64035aa669a |
children | 2200fd2b3ebb |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="poppler" |
slaxemulator@8356 | 4 VERSION="0.14.5" |
pankso@205 | 5 CATEGORY="office" |
pankso@27 | 6 SHORT_DESC="Poppler is a PDF rendering library." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@5005 | 8 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \ |
pankso@5337 | 9 gcc-lib-base gtk+ cairo" |
pankso@4246 | 10 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \ |
slaxemulator@6241 | 11 freetype-dev fontconfig-dev glib-dev Qt4-dev lcms-dev zlib-dev" |
pankso@27 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@27 | 13 WEB_SITE="http://poppler.freedesktop.org/" |
pankso@27 | 14 WGET_URL="http://poppler.freedesktop.org/$TARBALL" |
pankso@27 | 15 |
pankso@27 | 16 # Rules to configure and make the package. |
pankso@27 | 17 compile_rules() |
pankso@27 | 18 { |
pankso@27 | 19 cd $src |
pankso@725 | 20 ./configure \ |
pankso@725 | 21 --prefix=/usr \ |
pankso@725 | 22 --infodir=/usr/share/info \ |
pankso@725 | 23 --mandir=/usr/share/man \ |
pankso@2771 | 24 --enable-zlib \ |
pascal@1491 | 25 $CONFIGURE_ARGS && |
slaxemulator@8356 | 26 make && |
pankso@27 | 27 make DESTDIR=$PWD/_pkg install |
pankso@27 | 28 } |
pankso@27 | 29 |
pankso@27 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 31 genpkg_rules() |
pankso@27 | 32 { |
pankso@27 | 33 mkdir -p $fs/usr/lib |
pankso@27 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4246 | 35 # Remove qt4 libs --> poppler-qt4 |
pankso@4246 | 36 rm $fs/usr/lib/*qt4.so* |
pankso@27 | 37 } |