wok annotate qpdf/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (8 weeks ago)
parents 3c9783d89208
children
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@25601 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25601 21 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
mojo@17840 24 # Rules to configure and make the package.
mojo@17840 25 compile_rules()
mojo@17840 26 {
Hans-G?nter@24138 27 ./configure \
Hans-G?nter@24138 28 CC=gcc-83 \
Hans-G?nter@24138 29 CXX=g++-83 \
Hans-G?nter@24138 30 $CONFIGURE_ARGS &&
Hans-G?nter@21742 31 make &&
Hans-G?nter@21742 32 make install
mojo@17840 33 }
mojo@17840 34
mojo@17840 35 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@17840 36 genpkg_rules()
mojo@17840 37 {
Hans-G?nter@24460 38 cook_copy_folders bin
Hans-G?nter@24460 39 cook_copy_files *.so*
mojo@17840 40 }