wok-6.x view poppler/receipt @ rev 10839

pingus: clean receipt and fix compile_rules so it dont build if broken
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:38:19 2011 +0200 (2011-06-08)
parents 2200fd2b3ebb
children 3dac7d2db9ac
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.14.5"
5 CATEGORY="office"
6 SHORT_DESC="Poppler is a PDF rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://poppler.freedesktop.org/"
10 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
12 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \
13 gcc-lib-base gtk+ cairo"
14 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \
15 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --enable-zlib \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }