forked from ports/contrib
20 lines
681 B
Plaintext
20 lines
681 B
Plaintext
# Description: top like program to display I/O load.
|
|
# URL: http://guichaz.free.fr/iotop/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Johannes Winkelmann, jw at smts dot ch
|
|
# Depends on: python
|
|
|
|
name=iotop
|
|
version=0.6
|
|
release=1
|
|
source=(http://guichaz.free.fr/$name/files/$name-$version.tar.bz2)
|
|
#source=(http://pkgs.fedoraproject.org/repo/pkgs/$name/$name-$version.tar.bz2/cdd38b276cbf238676f5d2bcf098ba9c/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
chmod ag+r iotop.8
|
|
sed -i 's|share/man/man8|man/man8|' setup.py
|
|
/usr/bin/python setup.py install --root=$PKG --prefix=/usr
|
|
rm -r $PKG/usr/lib/python*/site-packages/iotop-*.egg-info
|
|
}
|