wok-current annotate qpdf/receipt @ rev 24388

updated bwm-ng (0.6.2 -> 0.6.3)
author Hans-G?nter Theisgen
date Mon Feb 07 16:44:28 2022 +0100 (2022-02-07)
parents c861748f2be2
children 3c9783d89208
rev   line source
mojo@17840 1 # SliTaz package receipt.
mojo@17840 2
mojo@17840 3 PACKAGE="qpdf"
Hans-G?nter@24137 4 VERSION="10.3.2"
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@21742 12 WGET_URL="${WEB_SITE}/archive/release-$TARBALL"
mojo@17840 13
Hans-G?nter@24138 14 DEPENDS="gcc83-lib-base 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 {
mojo@17840 37 mkdir -p $fs/usr/lib
Hans-G?nter@21742 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21742 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
mojo@17840 40 }