wok-6.x annotate poppler/receipt @ rev 8346
Up: poppler to 0.16.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Feb 02 01:43:04 2011 +0000 (2011-02-02) |
parents | 86f9599cdd19 |
children | a9a016ca8872 |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="poppler" |
slaxemulator@8346 | 4 VERSION="0.16.2" |
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 && |
pascal@5781 | 26 make -j 4 && |
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 } |