wok-current view poppler/receipt @ rev 25690

Fix display checkspace, only updates available
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 15 08:30:29 2024 +0000 (8 months ago)
parents 5d79829fa876
children
line source
1 # SliTaz package receipt.
3 PACKAGE="poppler"
4 VERSION="0.49.0"
5 CATEGORY="office"
6 SHORT_DESC="Poppler is a PDF rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://poppler.freedesktop.org/"
11 WGET_URL="https://poppler.freedesktop.org/$TARBALL"
13 DEPENDS="bzlib cairo expat freetype glib jpeg lcms libpng
14 tiff xorg-libXdamage"
15 BUILD_DEPENDS="$DEPENDS automake bzip2-dev cairo-dev expat-dev
16 fontconfig-dev freetype-dev glib-dev gtk-doc jpeg-dev
17 lcms-dev libpng-dev libtool libxml2-dev pkg-config
18 Qt4-dev tiff-dev zlib-dev"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # cheat autoreconf
30 # ln -s /usr/bin/aclocal /usr/bin/aclocal-1.15
32 autoreconf -fi &&
33 ./configure \
34 --enable-zlib \
35 --enable-cairo-output \
36 --enable-poppler-qt4 \
37 --disable-libopenjpeg \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 #following libs are included in poppler-qt4
49 rm -r $fs/usr/lib/*qt4.so*
50 }