wok-stable annotate poppler/receipt @ rev 5052
fix typos: add scanner group
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sat Mar 06 18:48:28 2010 +0000 (2010-03-06) |
parents | d3eca578f816 |
children | ec066bd77049 |
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" |
pascal@5005 | 8 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \ |
pascal@5005 | 9 gcc-lib-base gtk+ cairo-xcb" |
pankso@4246 | 10 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \ |
jozee@4473 | 11 freetype-dev fontconfig-dev glib-dev Qt4-dev lcms-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@1491 | 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 } |