aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/iotop/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/iotop/APKBUILD')
-rw-r--r--unmaintained/iotop/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/iotop/APKBUILD b/unmaintained/iotop/APKBUILD
new file mode 100644
index 0000000000..e96e0bcf43
--- /dev/null
+++ b/unmaintained/iotop/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=iotop
+pkgver=0.6
+pkgrel=0
+pkgdesc="I/O monitoring tool"
+url="http://guichaz.free.fr/iotop/"
+arch="noarch"
+license="GPL2"
+depends="python"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages="$pkgname-doc"
+source="http://guichaz.free.fr/iotop/files/iotop-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/iotop-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="5ef9456b26d7694abf3101a72e1e0d1d iotop-0.6.tar.bz2"
+sha256sums="3adea2a24eda49bbbaeb4e6ed2042355b441dbd7161e883067a02bfc8dcef75b iotop-0.6.tar.bz2"
+sha512sums="b1047da3bc46604447cc8ab22442a3a5381e1a79a6b176fe9ee8402ee5cebb959205407a6aeaffccccde9d2f67624ff8ee6717b051838f13ab88bf3a16db3ab9 iotop-0.6.tar.bz2"