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