wok annotate pv/receipt @ rev 25159

updated pv (1.6.6 -> 1.6.20)
author Hans-G?nter Theisgen
date Thu Jun 30 17:58:13 2022 +0100 (23 months ago)
parents 1805f71c5d9f
children c6c2c42e733e
rev   line source
allan316@3317 1 # SliTaz package receipt.
allan316@3317 2
allan316@3317 3 PACKAGE="pv"
Hans-G?nter@25159 4 VERSION="1.6.20"
allan316@3317 5 CATEGORY="misc"
Hans-G?nter@21733 6 SHORT_DESC="Pipe viewer for monitoring data through a pipeline."
allan316@3317 7 MAINTAINER="allan316@gmail.com"
pascal@15376 8 LICENSE="Artistic"
Hans-G?nter@25159 9 WEB_SITE="https://www.ivarch.com/programs/pv.shtml"
Hans-G?nter@21733 10
Hans-G?nter@21733 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@25159 12 WGET_URL="https://www.ivarch.com/programs/sources/$TARBALL"
allan316@3317 13
pascal@15613 14 DEPENDS=""
pascal@15613 15 BUILD_DEPENDS="gettext"
pascal@15613 16
pascal@24535 17 # What is the latest version available today?
pascal@24535 18 current_version()
pascal@24535 19 {
pascal@24535 20 wget -O - https://github.com/a-j-wood/pv/releases 2>/dev/null | \
pascal@24535 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24535 22 }
pascal@24535 23
allan316@3317 24 # Rules to configure and make the package.
allan316@3317 25 compile_rules()
allan316@3317 26 {
Hans-G?nter@21733 27 ./configure \
Hans-G?nter@21733 28 --prefix=/usr \
Hans-G?nter@21733 29 --infodir=/usr/share/info \
Hans-G?nter@21733 30 --mandir=/usr/share/man \
allan316@3317 31 $CONFIGURE_ARGS &&
Hans-G?nter@21733 32 make &&
Hans-G?nter@25159 33 make install DESTDIR=$DESTDIR
allan316@3317 34 }
allan316@3317 35
allan316@3317 36 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3317 37 genpkg_rules()
allan316@3317 38 {
Hans-G?nter@25159 39 cook_copy_folders bin
allan316@3317 40 }