diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/speedometer/APKBUILD | 34 | ||||
-rw-r--r-- | testing/speedometer/popen2-deprecated-speedometer-2.6.patch | 14 |
2 files changed, 48 insertions, 0 deletions
diff --git a/testing/speedometer/APKBUILD b/testing/speedometer/APKBUILD new file mode 100644 index 000000000..0292c1d57 --- /dev/null +++ b/testing/speedometer/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Matt Smith <mcs@darkregion.net> +# Maintainer: Matt Smith <mcs@darkregion.net> +pkgname=speedometer +pkgver=2.6 +pkgrel=0 +pkgdesc="Measure and display the rate of data across a network connection or data being stored in a file" +url="http://excess.org/speedometer/" +license="LGPL" +depends="python urwid" +makedepends="python-dev" +install= +subpackages= +source="http://excess.org/$pkgname/$pkgname-$pkgver.tar.gz + popen2-deprecated-speedometer-2.6.patch + " + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + patch -p1 -i "$startdir"/popen2-deprecated-speedometer-2.6.patch +} + +build() { + return 0 +} + +package() { + cd "$_builddir" + install -m755 -D speedometer.py "$pkgdir"/usr/bin/speedometer +} + +md5sums="e30c46e8bce8dcf26532c7c06ecee50c speedometer-2.6.tar.gz +c60783e85e9ecf2560f5a79530687cb1 popen2-deprecated-speedometer-2.6.patch" diff --git a/testing/speedometer/popen2-deprecated-speedometer-2.6.patch b/testing/speedometer/popen2-deprecated-speedometer-2.6.patch new file mode 100644 index 000000000..4e3eba735 --- /dev/null +++ b/testing/speedometer/popen2-deprecated-speedometer-2.6.patch @@ -0,0 +1,14 @@ + +# Patch comes from upstream: +# https://excess.org/hg/speedometer/raw-rev/ccda212032d1 + +--- a/speedometer.py Wed Nov 03 17:17:27 2010 -0400 ++++ b/speedometer.py Wed Nov 03 17:21:04 2010 -0400 +@@ -18,7 +18,6 @@ + import time + import sys + import os +-import popen2 + import string + import math + import re |