diff options
author | Nelo-T. Wallus <nelo@wallus.de> | 2019-05-22 23:09:40 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-05-22 23:35:45 +0200 |
commit | c4ee40ccc94d32a3640700de72144ac95ca62eb4 (patch) | |
tree | f1c6769450702434b6fd3e20f2149c25b9837eee /sys-process/nmon | |
parent | net-misc/rdesktop: 1.8.6 bump (diff) | |
download | gentoo-c4ee40ccc94d32a3640700de72144ac95ca62eb4.tar.gz gentoo-c4ee40ccc94d32a3640700de72144ac95ca62eb4.tar.bz2 gentoo-c4ee40ccc94d32a3640700de72144ac95ca62eb4.zip |
sys-process/nmon: Bump to 16j
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Nelo-T. Wallus <nelo@wallus.de>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-process/nmon')
-rw-r--r-- | sys-process/nmon/Manifest | 1 | ||||
-rw-r--r-- | sys-process/nmon/nmon-16j.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-process/nmon/Manifest b/sys-process/nmon/Manifest index fa304a4040f0..6cefe5515332 100644 --- a/sys-process/nmon/Manifest +++ b/sys-process/nmon/Manifest @@ -1,3 +1,4 @@ DIST lmon16f.c 271123 BLAKE2B d0ac71e061fdeadc59f0c07d46ed711570d439f8058b1fe30fd137cb648129f844c6d8b750783543eeddb3bd99f26e07e83ba63cdc55ace83d0f2fc77ab19c43 SHA512 04d22b4678932067d42158f1bc794f79b5a321e10ba7163632be3b930e28176d0d057cd652ef7cd342167741aafdc00a16e612a99522bfe75072e67cf8d0a66b DIST lmon16g.c 267681 BLAKE2B ff7484b7853418e679720fcc76257fb7fe0208f8cf43806c76f5d189c370f995313c325d6e9821b686fa3917cc552af9e9b94ce9f9aed6efe98d2d07032d7c31 SHA512 87287183db48338a281438efc7a8b74249cf88c0a0799e826a9a89b0eb39835b0ba223c7ea6decc217848179f4991909b3cf307aa7eec8a3a4604ebf8a4e8ebe DIST lmon16i.c 269804 BLAKE2B 9ff75d7f9f54d6ea3d4c9bec611343c2a28f2cff44d0e2a972bce61326befd4ae455941dba406d052c4cdd820ffeae48894131c8d8b746eedbd1bb58582594d8 SHA512 7c2d60b1558c01cfbcfe040eb68652d3a6c5717efb5495563f774ff20384a6cc4532e756d49b8634a022e4681503b7738998a5dbd77e4ca37c114a94a03893cb +DIST lmon16j.c 268464 BLAKE2B bec697a4db2f16958b8505fafa0d215a41e2149a16a033ccc361f797cec954b43cf0856fb5b670b4741cafeada1dd2ac07df95d6bd5466ee805be406e79f6560 SHA512 e3a5be0e56f634f2e054a0ab39c92c2ca4e345017da976f891a5ece8cf67d57eb3b749f529394163f8269db829af56f394db5c666151b6c1e6a5505a6235869c diff --git a/sys-process/nmon/nmon-16j.ebuild b/sys-process/nmon/nmon-16j.ebuild new file mode 100644 index 000000000000..4cc52ae9c054 --- /dev/null +++ b/sys-process/nmon/nmon-16j.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} +} |