wok annotate poppler/receipt @ rev 4003
linux: ensure linux-source will have patches
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 31 17:17:44 2009 +0200 (2009-08-31) |
parents | b2b20722b0b6 |
children | c1c447457d4c |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="poppler" |
pankso@3851 | 4 VERSION="0.10.7" |
pankso@205 | 5 CATEGORY="office" |
pankso@27 | 6 SHORT_DESC="Poppler is a PDF rendering library." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@1511 | 8 BUILD_DEPENDS="pkg-config jpeg fontconfig" |
pankso@27 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2522 | 10 DEPENDS="expat freetype gtk+ jpeg libxml2 xorg-libXdamage" |
pankso@27 | 11 WEB_SITE="http://poppler.freedesktop.org/" |
pankso@27 | 12 WGET_URL="http://poppler.freedesktop.org/$TARBALL" |
pankso@27 | 13 |
pankso@27 | 14 # Rules to configure and make the package. |
pankso@27 | 15 compile_rules() |
pankso@27 | 16 { |
pankso@27 | 17 cd $src |
pankso@725 | 18 ./configure \ |
pankso@725 | 19 --prefix=/usr \ |
pankso@725 | 20 --infodir=/usr/share/info \ |
pankso@725 | 21 --mandir=/usr/share/man \ |
pankso@2771 | 22 --enable-zlib \ |
pascal@1491 | 23 $CONFIGURE_ARGS && |
pascal@1491 | 24 make && |
pankso@27 | 25 make DESTDIR=$PWD/_pkg install |
pankso@27 | 26 } |
pankso@27 | 27 |
pankso@27 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 29 genpkg_rules() |
pankso@27 | 30 { |
pankso@27 | 31 mkdir -p $fs/usr/lib |
pankso@27 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@27 | 33 } |