wok-6.x annotate poppler/receipt @ rev 4428
Add: php-pdo-mysql + php-pdo-pgsql (PDO support)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Oct 26 13:31:05 2009 +0100 (2009-10-26) |
parents | c1c447457d4c |
children | d3eca578f816 |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="poppler" |
pankso@4069 | 4 VERSION="0.12.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@4246 | 8 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage" |
pankso@4246 | 9 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \ |
pankso@4246 | 10 freetype-dev fontconfig-dev glib-dev Qt4-dev" |
pankso@27 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@27 | 12 WEB_SITE="http://poppler.freedesktop.org/" |
pankso@27 | 13 WGET_URL="http://poppler.freedesktop.org/$TARBALL" |
pankso@27 | 14 |
pankso@27 | 15 # Rules to configure and make the package. |
pankso@27 | 16 compile_rules() |
pankso@27 | 17 { |
pankso@27 | 18 cd $src |
pankso@725 | 19 ./configure \ |
pankso@725 | 20 --prefix=/usr \ |
pankso@725 | 21 --infodir=/usr/share/info \ |
pankso@725 | 22 --mandir=/usr/share/man \ |
pankso@2771 | 23 --enable-zlib \ |
pascal@1491 | 24 $CONFIGURE_ARGS && |
pascal@1491 | 25 make && |
pankso@27 | 26 make DESTDIR=$PWD/_pkg install |
pankso@27 | 27 } |
pankso@27 | 28 |
pankso@27 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 30 genpkg_rules() |
pankso@27 | 31 { |
pankso@27 | 32 mkdir -p $fs/usr/lib |
pankso@27 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4246 | 34 # Remove qt4 libs --> poppler-qt4 |
pankso@4246 | 35 rm $fs/usr/lib/*qt4.so* |
pankso@27 | 36 } |