wok view pv/receipt @ rev 25587
Update some web_site / wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 06 11:04:30 2023 +0000 (18 months ago) |
parents | 3ce097bbe559 |
children | 0262035dc1e7 |
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://github.com/a-j-wood/pv"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/a-j-wood/pv/releases/download/v$VERSION/$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 }