wok annotate poppler/receipt @ rev 10338
poppler: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 01:30:44 2011 +0000 (2011-05-22) |
parents | 2200fd2b3ebb |
children | 3dac7d2db9ac |
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" |
pankso@27 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@27 | 9 WEB_SITE="http://poppler.freedesktop.org/" |
pankso@27 | 10 WGET_URL="http://poppler.freedesktop.org/$TARBALL" |
pankso@27 | 11 |
slaxemulator@10338 | 12 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \ |
slaxemulator@10338 | 13 gcc-lib-base gtk+ cairo" |
slaxemulator@10338 | 14 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \ |
slaxemulator@10338 | 15 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev" |
slaxemulator@10338 | 16 |
pankso@27 | 17 # Rules to configure and make the package. |
pankso@27 | 18 compile_rules() |
pankso@27 | 19 { |
pankso@27 | 20 cd $src |
pankso@725 | 21 ./configure \ |
slaxemulator@10338 | 22 --enable-zlib \ |
slaxemulator@10338 | 23 $CONFIGURE_ARGS && |
slaxemulator@10338 | 24 make && make install |
pankso@27 | 25 } |
pankso@27 | 26 |
pankso@27 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 28 genpkg_rules() |
pankso@27 | 29 { |
pankso@27 | 30 mkdir -p $fs/usr/lib |
pankso@27 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@27 | 32 } |