wok view pv/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 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 }