wok view pv/receipt @ rev 25622

Up bzip3 (1.3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 31 10:51:14 2023 +0000 (15 months ago)
parents c6c2c42e733e
children
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }