sys-process/iotop-c - 1.33 (gentoo)

Search

Install

Install this version:

emerge -a =sys-process/iotop-c-1.33

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-process/iotop-c-1.33

Or alternatively:

emerge --autounmask-write -a =sys-process/iotop-c-1.33

Package Information

Description:
top utility for IO (C port)
Homepage:
https://github.com/Tomas-M/iotop
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.33 8 ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 0
View Raw Ebuild
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fcaps linux-info toolchain-funcs

DESCRIPTION="top utility for IO (C port)"
HOMEPAGE="https://github.com/Tomas-M/iotop"
SRC_URI="https://github.com/Tomas-M/iotop/releases/download/v${PV}/iotop-${PV}.tar.xz"
S="${WORKDIR}/iotop-${PV}"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"

RDEPEND="
	sys-libs/ncurses:=
	!sys-process/iotop
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS ~VM_EVENT_COUNTERS"

FILECAPS=(
	cap_net_admin=eip usr/bin/iotop
)

src_prepare() {
	sed -e 's/-D_FORTIFY_SOURCE=2//' -i Makefile || die
	default
}

src_compile() {
	emake V=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" NO_FLTO=1
}

src_install() {
	dobin iotop
	dodoc README.md
	doman iotop.8
}

Inherited Eclasses

Dependencies

DEPEND

	sys-libs/ncurses:=
	!sys-process/iotop

RDEPEND

	sys-libs/ncurses:=
	!sys-process/iotop

BDEPEND

virtual/pkgconfig

Manifest for 1.33

Type File Size Source URLs
DIST iotop-1.33.tar.xz 139492 bytes https://github.com/Tomas-M/iotop/releases/download/v1.33/iotop-1.33.tar.xz