From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/nmon/
Date: Fri, 21 Jun 2024 18:33:44 +0000 (UTC) [thread overview]
Message-ID: <1718994676.5072e856ee7a60b2e95bd8f3f9a4511e5df525f8.arthurzam@gentoo> (raw)
commit: 5072e856ee7a60b2e95bd8f3f9a4511e5df525f8
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 21 18:31:16 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 21 18:31:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5072e856
sys-process/nmon: add 16q
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sys-process/nmon/Manifest | 1 +
sys-process/nmon/nmon-16q.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/sys-process/nmon/Manifest b/sys-process/nmon/Manifest
index ae5b3e30fb78..c539ea62c331 100644
--- a/sys-process/nmon/Manifest
+++ b/sys-process/nmon/Manifest
@@ -1 +1,2 @@
DIST lmon16n.c 268772 BLAKE2B a85aa30029cff39859058689f013801d864a9ecc0f1115d59aac4b86284108b43c1f4230fdc617c1b7718ed503634ba14dfca2f9a6fb4cb8592e9f6bc327739f SHA512 7b801e3d8a1d60794993af6572b8db04aa0bc707cebd16404c6ad9056f4c37216d57e894241540405192bf76a7e0a49f2e31b55b1721c7eb9da437808ff5abda
+DIST lmon16q.c 271117 BLAKE2B cd1238b0f7c00dc719635231dc38dd091d33608b124d619a0ca5cd2d1b58826d14024c01b4683ca53ecdfbb0efef8185e71cc800cbde7c0a5d43548b26730832 SHA512 06386a4c4b77d029b7cbbbc7f4f8b22028787d286e725257b5daef6d77551c5d3d2c26d303adfab8a953455e51ae308ffb5b1170856ff7b391e696f677bafeef
diff --git a/sys-process/nmon/nmon-16q.ebuild b/sys-process/nmon/nmon-16q.ebuild
new file mode 100644
index 000000000000..3f39fe737fa2
--- /dev/null
+++ b/sys-process/nmon/nmon-16q.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+MY_P="lmon${PV}"
+DESCRIPTION="Nigel's performance MONitor for CPU, memory, network, disks, etc"
+HOMEPAGE="http://nmon.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.c"
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="sys-libs/ncurses:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-16n-musl.patch
+)
+
+src_unpack() {
+ cp "${DISTDIR}"/${MY_P}.c "${S}"/${PN}.c || die
+}
+
+src_configure() {
+ local cflags=(
+ # Recommended by upstream to be always on
+ -DGETUSER
+ -DJFS
+ -DLARGEMEM
+ -DKERNEL_2_6_18
+
+ # Arches
+ $(usex amd64 -DX86 '')
+ $(usex x86 -DX86 '')
+ $(usex arm -DARM '')
+ $(usex ppc64 -DPOWER '')
+ )
+
+ append-cflags "${cflags[@]}"
+ append-libs "$($(tc-getPKG_CONFIG) --libs ncurses) -lm"
+}
+
+src_compile() {
+ tc-export CC
+
+ emake ${PN} LDLIBS="${LIBS}"
+}
+
+src_install() {
+ dobin ${PN}
+}
next reply other threads:[~2024-06-21 18:33 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-21 18:33 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-24 11:21 [gentoo-commits] repo/gentoo:master commit in: sys-process/nmon/ Petr Vaněk
2024-11-23 16:20 Michał Górny
2024-11-23 12:30 Arthur Zamarin
2022-12-18 12:45 Sam James
2022-06-17 12:11 Sam James
2022-04-17 19:17 Sam James
2021-12-07 6:26 Agostino Sarubbo
2021-12-05 5:01 Sam James
2021-08-30 8:40 Lars Wendler
2020-08-22 1:50 Georgy Yakovlev
2019-09-26 13:50 Thomas Deutschmann
2019-05-22 21:35 Lars Wendler
2019-05-22 21:35 Lars Wendler
2019-05-22 21:35 Lars Wendler
2019-03-26 8:58 Lars Wendler
2018-02-11 11:36 Michał Górny
2017-08-02 7:43 Lars Wendler
2017-08-02 7:43 Lars Wendler
2017-08-01 14:32 Amy Liffey
2016-12-20 14:38 Tobias Klausmann
2016-08-17 4:50 Jeroen Roovers
2016-07-08 15:59 Anthony G. Basile
2016-07-07 19:48 Austin English
2016-06-26 10:14 Patrice Clement
2016-05-29 15:30 Kristian Fiskerstrand
2016-03-17 10:21 Amy Winston
2016-03-17 10:21 Amy Winston
2016-03-17 10:21 Amy Winston
2015-11-23 16:35 Michael Palimaka
2015-11-23 16:35 Michael Palimaka
2015-10-23 6:22 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1718994676.5072e856ee7a60b2e95bd8f3f9a4511e5df525f8.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox