wok-current annotate poppler/receipt @ rev 24801
updated libiodbc and libiodbc-dev (3.52.13 -> 3.52.15)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 10:00:57 2022 +0100 (2022-03-22) |
parents | 5d79829fa876 |
children |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="poppler" |
psychomaniak@19525 | 4 VERSION="0.49.0" |
pankso@205 | 5 CATEGORY="office" |
pankso@27 | 6 SHORT_DESC="Poppler is a PDF rendering library." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@16625 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20679 | 10 WEB_SITE="https://poppler.freedesktop.org/" |
pascal@20679 | 11 WGET_URL="https://poppler.freedesktop.org/$TARBALL" |
pankso@27 | 12 |
Hans-G?nter@24756 | 13 DEPENDS="bzlib cairo expat freetype glib jpeg lcms libpng |
Hans-G?nter@24756 | 14 tiff xorg-libXdamage" |
Hans-G?nter@24756 | 15 BUILD_DEPENDS="$DEPENDS automake bzip2-dev cairo-dev expat-dev |
Hans-G?nter@24756 | 16 fontconfig-dev freetype-dev glib-dev gtk-doc jpeg-dev |
Hans-G?nter@24756 | 17 lcms-dev libpng-dev libtool libxml2-dev pkg-config |
Hans-G?nter@24756 | 18 Qt4-dev tiff-dev zlib-dev" |
slaxemulator@10338 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@27 | 26 # Rules to configure and make the package. |
pankso@27 | 27 compile_rules() |
pankso@27 | 28 { |
Hans-G?nter@24756 | 29 # cheat autoreconf |
Hans-G?nter@24756 | 30 # ln -s /usr/bin/aclocal /usr/bin/aclocal-1.15 |
Hans-G?nter@24756 | 31 |
Hans-G?nter@24756 | 32 autoreconf -fi && |
Hans-G?nter@24756 | 33 ./configure \ |
Hans-G?nter@24756 | 34 --enable-zlib \ |
Hans-G?nter@24756 | 35 --enable-cairo-output \ |
Hans-G?nter@24756 | 36 --enable-poppler-qt4 \ |
Hans-G?nter@24756 | 37 --disable-libopenjpeg \ |
slaxemulator@10338 | 38 $CONFIGURE_ARGS && |
Hans-G?nter@24756 | 39 make && |
Hans-G?nter@24756 | 40 make install |
pankso@27 | 41 } |
pankso@27 | 42 |
pankso@27 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 44 genpkg_rules() |
pankso@27 | 45 { |
pankso@27 | 46 mkdir -p $fs/usr/lib |
Hans-G?nter@24756 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
monghitri@13987 | 48 #following libs are included in poppler-qt4 |
Hans-G?nter@24756 | 49 rm -r $fs/usr/lib/*qt4.so* |
pankso@27 | 50 } |