wok-next annotate poppler/receipt @ rev 9706
gcc: one more fix to remove gcc-build in genpkg_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 20:23:16 2011 +0200 (2011-05-08) |
parents | a9a016ca8872 |
children | 6bc8c46ebc8b |
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" |
slaxemulator@9142 | 10 BUILD_DEPENDS="pkg-config fontconfig-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 \ |
slaxemulator@9142 | 20 --enable-zlib && |
slaxemulator@8356 | 21 make && |
slaxemulator@9142 | 22 make install |
pankso@27 | 23 } |
pankso@27 | 24 |
pankso@27 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 26 genpkg_rules() |
pankso@27 | 27 { |
pankso@27 | 28 mkdir -p $fs/usr/lib |
pankso@27 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@27 | 30 } |