diff options
Diffstat (limited to 'sys-process/nmon/nmon-14a.ebuild')
-rw-r--r-- | sys-process/nmon/nmon-14a.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-process/nmon/nmon-14a.ebuild b/sys-process/nmon/nmon-14a.ebuild new file mode 100644 index 000000000000..598f0aa94e2a --- /dev/null +++ b/sys-process/nmon/nmon-14a.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/nmon/nmon-14a.ebuild,v 1.1 2010/09/03 01:34:23 jer Exp $ + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="Nigel's performance MONitor for CPU, memory, network, disks, etc..." +HOMEPAGE="http://nmon.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/lmon${PV}.c" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_unpack() { + cp "${DISTDIR}"/lmon${PV}.c "${S}"/nmon.c || die +} + +src_compile() { + append-cppflags -DJFS -DGETUSER -DLARGEMEM + emake \ + CC="$(tc-getCC)" \ + LDLIBS="-lncurses" \ + nmon || die +} + +src_install() { + dobin nmon || die +} |