1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit toolchain-funcs
9 DESCRIPTION="Nigel's Monitor - provided by IBM"
10 HOMEPAGE="http://nmon.sourceforge.net"
11 SRC_URI="mirror://sourceforge/${PN}/lmon${PV}.c"
18 DEPEND="sys-libs/ncurses"
22 cp "${DISTDIR}"/lmon${PV}.c "${WORKDIR}"/lmon.c || die "cp failed"
23 cp "${FILESDIR}/${P}_makefile" "${WORKDIR}"/makefile || die "cp failed"
27 emake CC="$(tc-getCC)" || die "emake failed"
31 dobin nmon || die "dobin failed"