wok-current view speedometer/receipt @ rev 24903
updated mercurial (5.3.1 -> 6.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 11:10:54 2022 +0100 (2022-04-09) |
parents | 934055de50e2 |
children | 0aa534391a15 |
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://excess.org/speedometer/$TARBALL"
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 }