wok-next annotate poppler-qt4/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents 2200fd2b3ebb
children 2ef59f6bb8d1
rev   line source
pankso@4246 1 # SliTaz package receipt.
pankso@4246 2
pankso@4246 3 PACKAGE="poppler-qt4"
slaxemulator@8356 4 VERSION="0.14.5"
pankso@4246 5 CATEGORY="office"
slaxemulator@9142 6 SHORT_DESC="Poppler compiled with Qt4 library."
pankso@4246 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@9142 8 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \
slaxemulator@9142 9 gcc-lib-base gtk+ cairo libQtCore libQtXml libQtGui gcc-lib-base"
slaxemulator@9142 10 BUILD_DEPENDS="pkg-config Qt4-dev fontconfig-dev"
slaxemulator@9142 11 SOURCE="poppler"
slaxemulator@9142 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@4246 13 WEB_SITE="http://poppler.freedesktop.org/"
slaxemulator@9142 14 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
slaxemulator@9142 15
slaxemulator@9142 16 # Rules to configure and make the package.
slaxemulator@9142 17 compile_rules()
slaxemulator@9142 18 {
slaxemulator@9142 19 cd $src
slaxemulator@9142 20 ./configure \
slaxemulator@9142 21 --enable-poppler-qt4 \
gokhlayeh@11573 22 --enable-zlib \
gokhlayeh@11573 23 $CONFIGURE_ARGS &&
slaxemulator@9142 24 make &&
slaxemulator@9142 25 make install
slaxemulator@9142 26 }
pankso@4246 27
pankso@4246 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4246 29 genpkg_rules()
pankso@4246 30 {
pankso@4246 31 mkdir -p $fs/usr/lib
pankso@4246 32 cp -a $_pkg/usr/lib/*qt4.so* $fs/usr/lib
pankso@4246 33 }