summaryrefslogtreecommitdiff
blob: 7a7048fef3f7b58274e954a398cc8d034aeab291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-process/iotop/iotop-0.3.2-r1.ebuild,v 1.5 2010/02/04 02:49:31 jer Exp $

EAPI=2

inherit distutils linux-info

DESCRIPTION="Iotop has a top-like UI used to show which process is using the I/O"
HOMEPAGE="http://guichaz.free.fr/iotop/"
SRC_URI="http://guichaz.free.fr/iotop//files/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 hppa ~ia64 ppc ~sparc x86 ~x86-linux"
IUSE=""

RDEPEND=">=dev-lang/python-2.5[ncurses]
	dev-python/setuptools"
DEPEND="${RDEPEND}"

CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASKSTATS"
DOCS="NEWS README THANKS"

src_prepare() {
	distutils_src_prepare
	epatch "${FILESDIR}/${P}-rm-bundled-setuptools.patch"
}

src_install() {
	distutils_src_install
	doman iotop.1
}