wok-6.x view poppler/receipt @ rev 24461
updated daloradius (0.9-9 -> 1.1-2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 17:15:55 2022 +0100 (2022-02-16) |
parents | 6135577f4d08 |
children | 295fe85fbd0f |
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="expat freetype glib jpeg xorg-libXdamage lcms \
14 gcc-lib-base cairo tiff bzlib libpng"
15 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \
16 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
17 automake bzip2-dev libpng-dev libtool Qt4-dev libxml2-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoreconf -fi
29 ./configure \
30 --enable-zlib \
31 --enable-cairo-output \
32 --enable-poppler-qt4 \
33 --disable-libopenjpeg \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 #following libs are included in poppler-qt4
44 rm -r $fs/usr/lib/*qt4.so*
45 }