mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/iotop: moved from unmaintained
This commit is contained in:
parent
41cbea8c42
commit
300140759c
@ -1,38 +1,29 @@
|
||||
# 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"
|
||||
Loading…
x
Reference in New Issue
Block a user