diff options
author | Amy Winston <amynka@gentoo.org> | 2016-03-17 11:13:28 +0100 |
---|---|---|
committer | Amy Winston <amynka@gentoo.org> | 2016-03-17 11:19:45 +0100 |
commit | 6578df26b91e323c3acc532c5b3339f71006118b (patch) | |
tree | 9e040d6a0bc8806ac95053fa9e4c5ff8dcdc391e /sys-process/nmon | |
parent | mail-client/claws-mail-3.13.2-r0: add alpha keyword (diff) | |
download | gentoo-6578df26b91e323c3acc532c5b3339f71006118b.tar.gz gentoo-6578df26b91e323c3acc532c5b3339f71006118b.tar.bz2 gentoo-6578df26b91e323c3acc532c5b3339f71006118b.zip |
sys-process/nmon: version bump 16d bug #577056
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-process/nmon')
-rw-r--r-- | sys-process/nmon/Manifest | 1 | ||||
-rw-r--r-- | sys-process/nmon/nmon-16d.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-process/nmon/Manifest b/sys-process/nmon/Manifest index 65acb026ca1d..c9658fe34859 100644 --- a/sys-process/nmon/Manifest +++ b/sys-process/nmon/Manifest @@ -1,2 +1,3 @@ DIST lmon15g.c 211460 SHA256 0f4958c4fecfbaae5794a4cb41393880b25d2530ba7643fade9c344b03454d2c SHA512 849238148e5217e1460b4564bab9a9f4e9afb6364d3df75c83611b561b17414fccac16dcd9538e08a6448d5b19f9e506c3e5e44c8273b0e691389dd8d3160f12 WHIRLPOOL 9448863da7cdc8d5e3faa092850049c3f0c53816c547ae09f34209db145b3f818f273725a6be9a04b9e3117bcaa8a9fc394f2ab987fe6f3feecd9e02b95cbe85 DIST lmon15h.c 211652 SHA256 c4f70790f8fad869b208d9b8a3253a8aa9a10cc6d2184565715f710e703418ef SHA512 9ba1e42d30c2bcea831764e0d6cbf09d7ee5beff9bd870983bb37224fa40ed55d9f5483b80d9a36cc9f7dcbb9348fe1dca628b036c286effa34c427f7581e00d WHIRLPOOL 0d876d53fde67cceff8047c9fdfedd50bff6fe05467e5370b95e7d434919ff4f4381a030cce9390f3fc7b05e1dad5eb5ea61d46c15d3aa22dcb3b803f824c274 +DIST lmon16d.c 263169 SHA256 6bed2e8f4dd8c612d39b30460f6499714d295f4a9576710fb4faf4918b1a8956 SHA512 a2790bdf6000d69052e748914a0e1dfe2239de83a84c776008dd98bbf359c1b57f7f93936289ed7d567149481131da850b6fe135197bc56b95cb7a7ea50cdd05 WHIRLPOOL 646a717591cd299729e1a109b8b30a6306f7e18738e25722786f03a9955fa6342b03c44b3e2b5f7c785e88679e6f5b66e055a5144c7f9aced0df8795ce27097d diff --git a/sys-process/nmon/nmon-16d.ebuild b/sys-process/nmon/nmon-16d.ebuild new file mode 100644 index 000000000000..30889383c554 --- /dev/null +++ b/sys-process/nmon/nmon-16d.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~x86 ~arm ~ppc64" + +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} +} |