diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-08-04 03:24:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-08-04 03:24:50 +0000 |
commit | f170bed76ffee66915b81d5717157e79d714577a (patch) | |
tree | 473d2d4266587daaa2e6bf9e21989940171f0715 | |
parent | Stable for HPPA (bug #327163). (diff) | |
download | gentoo-2-f170bed76ffee66915b81d5717157e79d714577a.tar.gz gentoo-2-f170bed76ffee66915b81d5717157e79d714577a.tar.bz2 gentoo-2-f170bed76ffee66915b81d5717157e79d714577a.zip |
Initial ebuild #132948 by Aaron Tygart.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r-- | sys-process/nmon/ChangeLog | 10 | ||||
-rw-r--r-- | sys-process/nmon/metadata.xml | 6 | ||||
-rw-r--r-- | sys-process/nmon/nmon-13g.ebuild | 35 |
3 files changed, 51 insertions, 0 deletions
diff --git a/sys-process/nmon/ChangeLog b/sys-process/nmon/ChangeLog new file mode 100644 index 000000000000..e4458f401129 --- /dev/null +++ b/sys-process/nmon/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-process/nmon +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/nmon/ChangeLog,v 1.1 2010/08/04 03:24:50 vapier Exp $ + +*nmon-13g (04 Aug 2010) + + 04 Aug 2010; Mike Frysinger <vapier@gentoo.org> +nmon-13g.ebuild, + +metadata.xml: + Initial ebuild #132948 by Aaron Tygart. + diff --git a/sys-process/nmon/metadata.xml b/sys-process/nmon/metadata.xml new file mode 100644 index 000000000000..8cd04ac55b86 --- /dev/null +++ b/sys-process/nmon/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/sys-process/nmon/nmon-13g.ebuild b/sys-process/nmon/nmon-13g.ebuild new file mode 100644 index 000000000000..1f202958bc62 --- /dev/null +++ b/sys-process/nmon/nmon-13g.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-13g.ebuild,v 1.1 2010/08/04 03:24:50 vapier 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 +} |