wok-current annotate pv/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | b1f5d3871897 |
children | 870e1ce31226 |
rev | line source |
---|---|
allan316@3317 | 1 # SliTaz package receipt. |
allan316@3317 | 2 |
allan316@3317 | 3 PACKAGE="pv" |
Hans-G?nter@21733 | 4 VERSION="1.6.6" |
allan316@3317 | 5 CATEGORY="misc" |
Hans-G?nter@21733 | 6 SHORT_DESC="Pipe viewer for monitoring data through a pipeline." |
allan316@3317 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15376 | 8 LICENSE="Artistic" |
Hans-G?nter@21733 | 9 WEB_SITE="https://www.ivarch.com/programs/pv.shtml" |
Hans-G?nter@21733 | 10 |
Hans-G?nter@21733 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21733 | 12 WGET_URL="https://www.ivarch.com/programs/sources/$TARBALL" |
allan316@3317 | 13 |
pascal@15613 | 14 DEPENDS="" |
pascal@15613 | 15 BUILD_DEPENDS="gettext" |
pascal@15613 | 16 |
pascal@24535 | 17 # What is the latest version available today? |
pascal@24535 | 18 current_version() |
pascal@24535 | 19 { |
pascal@24535 | 20 wget -O - https://github.com/a-j-wood/pv/releases 2>/dev/null | \ |
pascal@24535 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24535 | 22 } |
pascal@24535 | 23 |
allan316@3317 | 24 # Rules to configure and make the package. |
allan316@3317 | 25 compile_rules() |
allan316@3317 | 26 { |
Hans-G?nter@21733 | 27 ./configure \ |
Hans-G?nter@21733 | 28 --prefix=/usr \ |
Hans-G?nter@21733 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@21733 | 30 --mandir=/usr/share/man \ |
allan316@3317 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21733 | 32 make && |
Hans-G?nter@21733 | 33 make DESTDIR=$DESTDIR install |
allan316@3317 | 34 } |
allan316@3317 | 35 |
allan316@3317 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3317 | 37 genpkg_rules() |
allan316@3317 | 38 { |
allan316@3317 | 39 mkdir -p $fs/usr |
pascal@15376 | 40 cp -a $install/usr/bin $fs/usr |
allan316@3317 | 41 } |