You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-process/nmon/nmon-14g.ebuild

35 lines
757 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-process/nmon/nmon-14g.ebuild,v 1.1 2011/12/13 18:39:00 jer Exp $
EAPI=4
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
}
src_install() {
dobin nmon
}