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