wok annotate qpdf/receipt @ rev 24091

get-pcem-roms: version less
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 17 19:56:00 2021 +0000 (2021-07-17)
parents 842787f79d73
children c861748f2be2
rev   line source
mojo@17840 1 # SliTaz package receipt.
mojo@17840 2
mojo@17840 3 PACKAGE="qpdf"
Hans-G?nter@21742 4 VERSION="8.4.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@21742 14 DEPENDS="libjpeg pcre zlib"
Hans-G?nter@21742 15 BUILD_DEPENDS="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@21742 26 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21742 27 make &&
Hans-G?nter@21742 28 make install
mojo@17840 29 }
mojo@17840 30
mojo@17840 31 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@17840 32 genpkg_rules()
mojo@17840 33 {
mojo@17840 34 mkdir -p $fs/usr/lib
Hans-G?nter@21742 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21742 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
mojo@17840 37 }