wok view pv/receipt @ rev 24976

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 06 11:04:25 2022 +0000 (24 months ago)
parents 870e1ce31226
children 3ce097bbe559
line source
1 # SliTaz package receipt.
3 PACKAGE="pv"
4 VERSION="1.6.6"
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://github.com/a-j-wood/pv"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://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 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }