# SliTaz package receipt. PACKAGE="speedometer" VERSION="2.8" CATEGORY="utilities" SHORT_DESC="Measure and display rate of data across a network connection." MAINTAINER="paul@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://excess.org/speedometer/" WGET_URL="https://github.com/wardi/speedometer/archive/refs/tags/release-$VERSION.tar.gz" DEPENDS="python python-urwid" # What is the latest version available today? current_version() { wget -O - https://github.com/wardi/speedometer/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp $src/speedometer.py $fs/usr/bin/speedometer }