wok view poppler/receipt @ rev 12088
busybox: su should not chdir (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:31:50 2012 +0100 (2012-03-10) |
parents | 2ef59f6bb8d1 |
children | 02337c58bb22 |
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.18.3"
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 xorg-libXdamage lcms \
13 gcc-lib-base cairo tiff bzlib libpng"
14 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \
15 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
16 automake bzip2-dev libpng-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 #patch -Np1 -i $stuff/git-fixes.patch
23 autoreconf -fi
24 ./configure \
25 --enable-zlib \
26 --enable-cairo-output \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }