diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-25 20:44:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-25 20:44:11 +0100 |
commit | 159ec3f090554ee5d7f61b2da553833fb7566f99 (patch) | |
tree | 8be8aa1641e20a8dfa1bab1b818367b702817c8a /sys-process/iotop-c/iotop-c-1.25.ebuild | |
parent | 2000f81da4dc9971f6e1e5d00b315816d4188f4c (diff) |
gentoo auto-resync : 25:10:2023 - 20:44:11
Diffstat (limited to 'sys-process/iotop-c/iotop-c-1.25.ebuild')
-rw-r--r-- | sys-process/iotop-c/iotop-c-1.25.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sys-process/iotop-c/iotop-c-1.25.ebuild b/sys-process/iotop-c/iotop-c-1.25.ebuild new file mode 100644 index 000000000000..9803d2a23784 --- /dev/null +++ b/sys-process/iotop-c/iotop-c-1.25.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2023 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/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/iotop-${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~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 +} |