wok annotate speedometer/receipt @ rev 24965
netsurf-sdl: replaced netsurf by netsurf-fb in desktop file
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:15:39 2022 +0100 (2022-04-25) |
parents | 934055de50e2 |
children | 0aa534391a15 |
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@24746 | 11 WGET_URL="https://excess.org/speedometer/$TARBALL" |
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 } |