wok annotate poppler/receipt @ rev 24478

Typos in BootProg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 18 10:06:45 2022 +0000 (2022-02-18)
parents 6135577f4d08
children 295fe85fbd0f
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
gokhlayeh@11494 13 DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \
pankso@11875 14 gcc-lib-base cairo tiff bzlib libpng"
slaxemulator@11871 15 BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \
slaxemulator@11871 16 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
pascal@15010 17 automake bzip2-dev libpng-dev libtool Qt4-dev libxml2-dev"
slaxemulator@10338 18
pascal@24072 19 current_version()
pascal@24072 20 {
pascal@24072 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 23 }
pascal@24072 24
pankso@27 25 # Rules to configure and make the package.
pankso@27 26 compile_rules()
pankso@27 27 {
gokhlayeh@11494 28 autoreconf -fi
pankso@725 29 ./configure \
slaxemulator@10338 30 --enable-zlib \
slaxemulator@11871 31 --enable-cairo-output \
monghitri@13987 32 --enable-poppler-qt4 \
psychomaniak@18209 33 --disable-libopenjpeg \
slaxemulator@10338 34 $CONFIGURE_ARGS &&
slaxemulator@10338 35 make && make install
pankso@27 36 }
pankso@27 37
pankso@27 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@27 39 genpkg_rules()
pankso@27 40 {
pankso@27 41 mkdir -p $fs/usr/lib
samuel_trassare@14147 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
monghitri@13987 43 #following libs are included in poppler-qt4
monghitri@13987 44 rm -r $fs/usr/lib/*qt4.so*
pankso@27 45 }
al@16656 46