Commit 30014075 authored by Francesco Colista's avatar Francesco Colista
Browse files

community/iotop: moved from unmaintained

parent 41cbea8c
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=iotop
pkgver=0.6
pkgrel=0
pkgrel=1
pkgdesc="I/O monitoring tool"
url="http://guichaz.free.fr/iotop/"
arch="noarch"
license="GPL2"
depends="python"
depends="python2"
depends_dev=""
makedepends="python-dev py-setuptools"
makedepends="python2-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
}
builddir="$srcdir"/iotop-$pkgver
build() {
cd "$_builddir"
python setup.py build || return 1
cd "$builddir"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="5ef9456b26d7694abf3101a72e1e0d1d iotop-0.6.tar.bz2"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment