wok-current annotate qpdf/receipt @ rev 24460

updated qpdf and qpdf-dev (10.3.2 -> 10.6.1)
author Hans-G?nter Theisgen
date Wed Feb 16 15:07:50 2022 +0100 (2022-02-16)
parents 66587b715a2a
children 54300170b458
rev   line source
mojo@17840 1 # SliTaz package receipt.
mojo@17840 2
mojo@17840 3 PACKAGE="qpdf"
Hans-G?nter@24460 4 VERSION="10.6.1"
mojo@17840 5 CATEGORY="system-tools"
Hans-G?nter@21742 6 SHORT_DESC="A Content-Preserving PDF Transformation System."
mojo@17840 7 MAINTAINER="mojo@slitaz.org"
mojo@17840 8 LICENSE="Artistic-2.0"
Hans-G?nter@21742 9 WEB_SITE="https://github.com/qpdf/qpdf"
Hans-G?nter@21742 10
mojo@17840 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24460 12 WGET_URL="$WEB_SITE/archive/release-$TARBALL"
mojo@17840 13
Hans-G?nter@24460 14 DEPENDS="gcc83-lib-base libatomic libjpeg pcre zlib"
Hans-G?nter@24138 15 BUILD_DEPENDS="gcc83 gnutls-dev jpeg-dev pcre-dev zlib-dev"
mojo@17840 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/release-qpdf-\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
mojo@17840 23 # Rules to configure and make the package.
mojo@17840 24 compile_rules()
mojo@17840 25 {
Hans-G?nter@24138 26 ./configure \
Hans-G?nter@24138 27 CC=gcc-83 \
Hans-G?nter@24138 28 CXX=g++-83 \
Hans-G?nter@24138 29 $CONFIGURE_ARGS &&
Hans-G?nter@21742 30 make &&
Hans-G?nter@21742 31 make install
mojo@17840 32 }
mojo@17840 33
mojo@17840 34 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@17840 35 genpkg_rules()
mojo@17840 36 {
Hans-G?nter@24460 37 cook_copy_folders bin
Hans-G?nter@24460 38 cook_copy_files *.so*
mojo@17840 39 }