2008-07-01 09:49:21 +02:00
|
|
|
# Maintainer: Johannes Winkelmann, jw at smts dot ch
|
|
|
|
# Description: top like program to display I/O load
|
2008-07-01 11:39:42 +02:00
|
|
|
# URL: http://guichaz.free.fr/iotop/
|
2008-07-01 09:49:21 +02:00
|
|
|
# Depends on: python
|
|
|
|
|
|
|
|
name=iotop
|
2008-07-16 18:42:02 +02:00
|
|
|
version=0.2.1
|
2008-07-01 09:49:21 +02:00
|
|
|
release=1
|
|
|
|
source=(http://guichaz.free.fr/${name}/files/${name}-${version}.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2008-07-16 18:42:02 +02:00
|
|
|
sed -i -e 's|share/man/man1|man/man1|' setup.py
|
2008-07-01 09:49:21 +02:00
|
|
|
python setup.py install --root=$PKG --prefix=/usr
|
2008-07-16 18:42:02 +02:00
|
|
|
rm -r $PKG/usr/lib/python2.5/site-packages/iotop-*-py2.5.egg-info/
|
2008-07-01 09:49:21 +02:00
|
|
|
}
|