contrib/iotop/Pkgfile

21 lines
561 B
Plaintext
Raw Normal View History

2014-05-18 21:39:41 +02:00
# Description: top like program to display I/O load.
# URL: http://guichaz.free.fr/iotop/
2014-05-18 22:05:26 +02:00
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
2019-12-20 14:04:51 +01:00
# Depends on: python3
2009-10-22 19:28:28 +02:00
name=iotop
2013-08-11 12:46:27 +02:00
version=0.6
2019-12-20 14:04:51 +01:00
release=2
source=(http://guichaz.free.fr/$name/files/$name-$version.tar.bz2 \
0001-Make-setp.py-compatible-with-python3.patch)
2009-10-22 19:28:28 +02:00
build() {
2014-05-18 21:39:41 +02:00
cd $name-$version
2019-12-20 14:04:51 +01:00
2014-05-18 21:39:41 +02:00
chmod ag+r iotop.8
2019-12-20 14:04:51 +01:00
patch -p1 -i $SRC/0001-Make-setp.py-compatible-with-python3.patch
/usr/bin/python3 setup.py install --root=$PKG --prefix=/usr
2014-05-18 21:39:41 +02:00
rm -r $PKG/usr/lib/python*/site-packages/iotop-*.egg-info
2009-10-22 19:28:28 +02:00
}