commit:     e16723ebd669c84a2ceb84e268beea98b84d9b2b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 21 09:38:18 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 21 09:38:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e16723eb

sys-process/iotop-c: add 1.19

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-process/iotop-c/Manifest            |  1 +
 sys-process/iotop-c/iotop-c-1.19.ebuild | 36 +++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/sys-process/iotop-c/Manifest b/sys-process/iotop-c/Manifest
index 4c6717c0a8c..1eddfc18a3e 100644
--- a/sys-process/iotop-c/Manifest
+++ b/sys-process/iotop-c/Manifest
@@ -1 +1,2 @@
 DIST iotop-c-1.18.tar.gz 114838 BLAKE2B 
8b3e13d00de4a5cd385a2d441d84bb27cc1d03a27012163b9628285c31176698bf840951e39199abef11b2d3c0413d500d6e7699f32a3b542360a1333307d00e
 SHA512 
f0affbfdb106eb36078e7994860155f52d47878017f47e64d69aa7c04cc29756ca516a6634fd19d6d39c931100b9a0e93e07ca2f4d14c18014dc1c4f477907ea
+DIST iotop-c-1.19.tar.gz 115025 BLAKE2B 
0b45a73afc5dd160692fa1a3d028afff2b4b242a008470679a669182baa56b133f5fd26f9cb3ed20ebfe18b7fdeba9ca98a7801299c8c9b8d776a58fed2725d2
 SHA512 
489ddd67eb4e9159058c94f614534290b302abd5af8b424f6c42df20f21362c60dc30e7fd0bac883b8bf032e72843b4b82dbfb77b670258728ef0fa9dbb7dfa3

diff --git a/sys-process/iotop-c/iotop-c-1.19.ebuild 
b/sys-process/iotop-c/iotop-c-1.19.ebuild
new file mode 100644
index 00000000000..b6d52c5d05f
--- /dev/null
+++ b/sys-process/iotop-c/iotop-c-1.19.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021 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 ~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_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
+}

Reply via email to