wok-next annotate poppler/receipt @ rev 6891

Fixed cups. Needed to add --enable-dbus and --with-dbusdir=/etc/dbus-1 for there to be a /etc/dbus-1 folder to copy to package.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 02:47:40 2010 +0000 (2010-10-21)
parents 49e501a55595
children 4321f1d3889f
rev   line source
pankso@27 1 # SliTaz package receipt.
pankso@27 2
pankso@27 3 PACKAGE="poppler"
slaxemulator@6241 4 VERSION="0.14.3"
pankso@205 5 CATEGORY="office"
pankso@27 6 SHORT_DESC="Poppler is a PDF rendering library."
pankso@27 7 MAINTAINER="pankso@slitaz.org"
pascal@5005 8 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \
pankso@5337 9 gcc-lib-base gtk+ cairo"
pankso@4246 10 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \
slaxemulator@6241 11 freetype-dev fontconfig-dev glib-dev Qt4-dev lcms-dev zlib-dev"
pankso@27 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@27 13 WEB_SITE="http://poppler.freedesktop.org/"
pankso@27 14 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
pankso@27 15
pankso@27 16 # Rules to configure and make the package.
pankso@27 17 compile_rules()
pankso@27 18 {
pankso@27 19 cd $src
pankso@725 20 ./configure \
pankso@725 21 --prefix=/usr \
pankso@725 22 --infodir=/usr/share/info \
pankso@725 23 --mandir=/usr/share/man \
pankso@2771 24 --enable-zlib \
pascal@1491 25 $CONFIGURE_ARGS &&
pascal@5781 26 make -j 4 &&
pankso@27 27 make DESTDIR=$PWD/_pkg install
pankso@27 28 }
pankso@27 29
pankso@27 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@27 31 genpkg_rules()
pankso@27 32 {
pankso@27 33 mkdir -p $fs/usr/lib
pankso@27 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4246 35 # Remove qt4 libs --> poppler-qt4
pankso@4246 36 rm $fs/usr/lib/*qt4.so*
pankso@27 37 }