summaryrefslogtreecommitdiffstats
path: root/testing/speedometer/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/speedometer/APKBUILD')
-rw-r--r--testing/speedometer/APKBUILD34
1 files changed, 34 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"