diff options
author | Nelo-T. Wallus <nelo@wallus.de> | 2017-08-01 21:44:13 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-02 09:43:29 +0200 |
commit | 2752abb987ff28997e5f7fd2da3adb5a4d6db28c (patch) | |
tree | c52335be3d6ca46fd6e4826fe06ae14d51dd2564 /sys-process | |
parent | dev-vcs/git: Removed old. (diff) | |
download | gentoo-2752abb987ff28997e5f7fd2da3adb5a4d6db28c.tar.gz gentoo-2752abb987ff28997e5f7fd2da3adb5a4d6db28c.tar.bz2 gentoo-2752abb987ff28997e5f7fd2da3adb5a4d6db28c.zip |
sys-process/nmon: Bump version
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/5269
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/nmon/Manifest | 1 | ||||
-rw-r--r-- | sys-process/nmon/nmon-16g.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-process/nmon/Manifest b/sys-process/nmon/Manifest index c9c0fa4ef939..1c3b065ea725 100644 --- a/sys-process/nmon/Manifest +++ b/sys-process/nmon/Manifest @@ -1 +1,2 @@ DIST lmon16f.c 271123 SHA256 280a371e17488f8a2c5e0c64273155789be6fa5b937ab5c465488e591bdc5cd9 SHA512 04d22b4678932067d42158f1bc794f79b5a321e10ba7163632be3b930e28176d0d057cd652ef7cd342167741aafdc00a16e612a99522bfe75072e67cf8d0a66b WHIRLPOOL 26d7f13fad94171a9f66da52fc5a927e2133c41f524956725a4f5e4527d61c2d0034a4c0eada85d22ff81c2b0cbc0f4f26eee0595f844212af36197b76704d3d +DIST lmon16g.c 267681 SHA256 da82dd693b503b062854dfe7dbb5d36b347872ab44a4aa05b97e9d577747f688 SHA512 87287183db48338a281438efc7a8b74249cf88c0a0799e826a9a89b0eb39835b0ba223c7ea6decc217848179f4991909b3cf307aa7eec8a3a4604ebf8a4e8ebe WHIRLPOOL 662146f0554692435969d191848aecec630c48d156fa4f23544c8a30f15ee6fd03f43de4fa556dc644a9c1dfb5714e9fb2eb51d9dd3d0566e4145541e13fa28f diff --git a/sys-process/nmon/nmon-16g.ebuild b/sys-process/nmon/nmon-16g.ebuild new file mode 100644 index 000000000000..918ae4569cc1 --- /dev/null +++ b/sys-process/nmon/nmon-16g.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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} + virtual/pkgconfig +" + +S="${WORKDIR}" + +src_unpack() { + cp -v -f "${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[@]}" + export LDLIBS="$( $(tc-getPKG_CONFIG) --libs ncurses ) -lm" +} + +src_compile() { + emake ${PN} +} + +src_install() { + dobin ${PN} +} |