diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-09-26 15:42:34 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-09-26 15:50:38 +0200 |
commit | 2cc3a0781fbb190a31ae9d66e164adda0eca58d3 (patch) | |
tree | 969383c7ee4af1883c960da53c6ee5ac34c62b83 /sys-process | |
parent | x11-themes/qtcurve: bump to v1.9.1 (diff) | |
download | gentoo-2cc3a0781fbb190a31ae9d66e164adda0eca58d3.tar.gz gentoo-2cc3a0781fbb190a31ae9d66e164adda0eca58d3.tar.bz2 gentoo-2cc3a0781fbb190a31ae9d66e164adda0eca58d3.zip |
sys-process/nmon: bump to v16m
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/nmon/Manifest | 1 | ||||
-rw-r--r-- | sys-process/nmon/nmon-16m.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-process/nmon/Manifest b/sys-process/nmon/Manifest index 23ccea695739..b83942c5d0c9 100644 --- a/sys-process/nmon/Manifest +++ b/sys-process/nmon/Manifest @@ -1,3 +1,4 @@ DIST lmon16g.c 267681 BLAKE2B ff7484b7853418e679720fcc76257fb7fe0208f8cf43806c76f5d189c370f995313c325d6e9821b686fa3917cc552af9e9b94ce9f9aed6efe98d2d07032d7c31 SHA512 87287183db48338a281438efc7a8b74249cf88c0a0799e826a9a89b0eb39835b0ba223c7ea6decc217848179f4991909b3cf307aa7eec8a3a4604ebf8a4e8ebe DIST lmon16i.c 269804 BLAKE2B 9ff75d7f9f54d6ea3d4c9bec611343c2a28f2cff44d0e2a972bce61326befd4ae455941dba406d052c4cdd820ffeae48894131c8d8b746eedbd1bb58582594d8 SHA512 7c2d60b1558c01cfbcfe040eb68652d3a6c5717efb5495563f774ff20384a6cc4532e756d49b8634a022e4681503b7738998a5dbd77e4ca37c114a94a03893cb DIST lmon16j.c 268464 BLAKE2B bec697a4db2f16958b8505fafa0d215a41e2149a16a033ccc361f797cec954b43cf0856fb5b670b4741cafeada1dd2ac07df95d6bd5466ee805be406e79f6560 SHA512 e3a5be0e56f634f2e054a0ab39c92c2ca4e345017da976f891a5ece8cf67d57eb3b749f529394163f8269db829af56f394db5c666151b6c1e6a5505a6235869c +DIST lmon16m.c 268614 BLAKE2B 8705a890cfc5f02079d70ab9de8e1462552342a16e5760964906f21a236bbef037e36c7d0f3af9fea7b4c1e86485620cef27fac16af33faa32d5e88afdde3358 SHA512 391d4703f5d052fd44a3c623155028e28649ea41a88c0fe8df81c7a7dc1f845e044f25e63352c1a7ea607c76c9afb0f82ff2841c8e789d88a9f1cf3c9e035f2e diff --git a/sys-process/nmon/nmon-16m.ebuild b/sys-process/nmon/nmon-16m.ebuild new file mode 100644 index 000000000000..4cc52ae9c054 --- /dev/null +++ b/sys-process/nmon/nmon-16m.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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/" +LICENSE="GPL-3" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.c" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}" + +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 + + ## archs + $(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() { + emake ${PN} LDLIBS="${LIBS}" +} + +src_install() { + dobin ${PN} +} |