Mercurial > hg > portage
changeset 209:5f5647863749
import ebuild for nmon
author | holger |
---|---|
date | Fri, 16 Apr 2010 16:41:28 +0200 |
parents | d601505de5aa |
children | c6edd24e6dd4 |
files | sys-process/nmon/Manifest sys-process/nmon/nmon-13g.ebuild |
diffstat | 2 files changed, 37 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sys-process/nmon/Manifest Fri Apr 16 16:41:28 2010 +0200 @@ -0,0 +1,3 @@ +DIST lmon13g.c 160425 RMD160 1880e7de2e00209f9201c20076552ec1d14e7777 SHA1 5e35e88dc13f044bfb7f16abe37b504c0a3bb79b SHA256 456ab2a342b31d1a352d0d940af5962fa65a12ae8757ff73e6e73210832ae8b5 +DIST nmon-13g_makefile 2484 RMD160 1c637bd8017001fb0c9eb56399717b95d5cdba9a SHA1 25d6c5c57d6a6cd88551862367c603b9800533cd SHA256 4573e76d3d9a8604cb980a222fb25376269100c553fb7f0c025e853004efeca7 +EBUILD nmon-13g.ebuild 796 RMD160 62b12ea27aa6685640a1ff3234050937b5e5e72c SHA1 7b334bf9d95686501b22e377c896211e21585acf SHA256 04621546744b0c6a7d29fd2974a03197606f06c28bd8c6a49a26f67ac5dd3ed5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sys-process/nmon/nmon-13g.ebuild Fri Apr 16 16:41:28 2010 +0200 @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +DESCRIPTION="Nigel's Monitor - provided by IBM" +HOMEPAGE="http://nmon.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/lmon${PV}.c + mirror://sourceforge/${PN}/makefile -> ${P}_makefile" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~ppc ~ppc64 ~amd64" +IUSE="" + +DEPEND="sys-libs/ncurses + sys-apps/lsb-release" +RDEPEND="${DEPEND}" + +src_unpack () { + cp ${DISTDIR}/lmon${PV}.c ${WORKDIR}/lmon.c + cp ${DISTDIR}/${P}_makefile ${WORKDIR}/makefile + echo 'nmon_gentoo:' >> ${WORKDIR}/makefile + echo ' cc -o nmon $(FILE) $(CFLAGS) $(LDFLAGS)' "${CFLAGS}" >> ${WORKDIR}/makefile +} + +src_compile() { + emake nmon_gentoo || die "emake failed" +} + +src_install() { + dobin nmon +}