wok-6.x annotate poppler/receipt @ rev 4612

improve post_remove libv4l
author Rohit Joshi <jozee@slitaz.org>
date Wed Dec 16 19:26:37 2009 +0000 (2009-12-16)
parents 42992e98db46
children f3327707164a
rev   line source
pankso@27 1 # SliTaz package receipt.
pankso@27 2
pankso@27 3 PACKAGE="poppler"
pankso@4069 4 VERSION="0.12.0"
pankso@205 5 CATEGORY="office"
pankso@27 6 SHORT_DESC="Poppler is a PDF rendering library."
pankso@27 7 MAINTAINER="pankso@slitaz.org"
jozee@4473 8 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms"
pankso@4246 9 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \
jozee@4473 10 freetype-dev fontconfig-dev glib-dev Qt4-dev lcms-dev"
pankso@27 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@27 12 WEB_SITE="http://poppler.freedesktop.org/"
pankso@27 13 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
pankso@27 14
pankso@27 15 # Rules to configure and make the package.
pankso@27 16 compile_rules()
pankso@27 17 {
pankso@27 18 cd $src
pankso@725 19 ./configure \
pankso@725 20 --prefix=/usr \
pankso@725 21 --infodir=/usr/share/info \
pankso@725 22 --mandir=/usr/share/man \
pankso@2771 23 --enable-zlib \
pascal@1491 24 $CONFIGURE_ARGS &&
pascal@1491 25 make &&
pankso@27 26 make DESTDIR=$PWD/_pkg install
pankso@27 27 }
pankso@27 28
pankso@27 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@27 30 genpkg_rules()
pankso@27 31 {
pankso@27 32 mkdir -p $fs/usr/lib
pankso@27 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4246 34 # Remove qt4 libs --> poppler-qt4
pankso@4246 35 rm $fs/usr/lib/*qt4.so*
pankso@27 36 }