wok-current view poppler/receipt @ rev 5717
gtkdatabox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 12:15:42 2010 +0200 (2010-06-24) |
parents | f3327707164a |
children | 49e501a55595 |
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.12.0"
5 CATEGORY="office"
6 SHORT_DESC="Poppler is a PDF rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \
9 gcc-lib-base gtk+ cairo"
10 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \
11 freetype-dev fontconfig-dev glib-dev Qt4-dev lcms-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://poppler.freedesktop.org/"
14 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --enable-zlib \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 # Remove qt4 libs --> poppler-qt4
36 rm $fs/usr/lib/*qt4.so*
37 }