wok annotate speedometer/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | cb67b4f8be05 |
children |
rev | line source |
---|---|
paul@5240 | 1 # SliTaz package receipt. |
paul@5240 | 2 |
paul@5240 | 3 PACKAGE="speedometer" |
paul@13664 | 4 VERSION="2.8" |
paul@5240 | 5 CATEGORY="utilities" |
paul@5240 | 6 SHORT_DESC="Measure and display rate of data across a network connection." |
paul@5240 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15593 | 8 LICENSE="LGPL2.1" |
paul@5240 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24746 | 10 WEB_SITE="https://excess.org/speedometer/" |
pascal@24998 | 11 WGET_URL="https://github.com/wardi/speedometer/archive/refs/tags/release-$VERSION.tar.gz" |
paul@5240 | 12 |
pascal@15593 | 13 DEPENDS="python python-urwid" |
pascal@15593 | 14 |
pascal@24462 | 15 # What is the latest version available today? |
pascal@24462 | 16 current_version() |
pascal@24462 | 17 { |
pascal@24462 | 18 wget -O - https://github.com/wardi/speedometer/tags 2>/dev/null | \ |
pascal@24462 | 19 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' |
pascal@24462 | 20 } |
pascal@24462 | 21 |
paul@5240 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@5240 | 23 genpkg_rules() |
paul@5240 | 24 { |
paul@5240 | 25 mkdir -p $fs/usr/bin |
paul@5240 | 26 cp $src/speedometer.py $fs/usr/bin/speedometer |
paul@5240 | 27 } |