wok-4.x annotate poppler/receipt @ rev 3815

Fix: slim cook with gcc 4.4 serie
author Christophe Lincoln <pankso@slitaz.org>
date Thu Aug 06 14:18:28 2009 +0200 (2009-08-06)
parents 9b20db26bb2f
children e8ba4e0f7aff
rev   line source
pankso@27 1 # SliTaz package receipt.
pankso@27 2
pankso@27 3 PACKAGE="poppler"
pankso@2771 4 VERSION="0.10.6"
pankso@205 5 CATEGORY="office"
pankso@27 6 SHORT_DESC="Poppler is a PDF rendering library."
pankso@27 7 MAINTAINER="pankso@slitaz.org"
pascal@1511 8 BUILD_DEPENDS="pkg-config jpeg fontconfig"
pankso@27 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2522 10 DEPENDS="expat freetype gtk+ jpeg libxml2 xorg-libXdamage"
pankso@27 11 WEB_SITE="http://poppler.freedesktop.org/"
pankso@27 12 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
pankso@27 13
pankso@27 14 # Rules to configure and make the package.
pankso@27 15 compile_rules()
pankso@27 16 {
pankso@27 17 cd $src
pankso@725 18 ./configure \
pankso@725 19 --prefix=/usr \
pankso@725 20 --infodir=/usr/share/info \
pankso@725 21 --mandir=/usr/share/man \
pankso@2771 22 --enable-zlib \
pascal@1491 23 $CONFIGURE_ARGS &&
pascal@1491 24 make &&
pankso@27 25 make DESTDIR=$PWD/_pkg install
pankso@27 26 }
pankso@27 27
pankso@27 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@27 29 genpkg_rules()
pankso@27 30 {
pankso@27 31 mkdir -p $fs/usr/lib
pankso@27 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@27 33 }