23 lines
593 B
Bash
23 lines
593 B
Bash
# Template file for 'nmon'
|
|
pkgname=nmon
|
|
version=16a
|
|
revision=1
|
|
build_style=fetch
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
|
makedepends="ncurses-devel"
|
|
depends="ncurses"
|
|
license="GPL-3"
|
|
homepage="http://nmon.sourceforge.net/pmwiki.php?n=Main.HomePage"
|
|
short_desc="Nigel's performance Monitor for Linux"
|
|
distfiles="${SOURCEFORGE_SITE}/nmon/files/lmon${version}.c"
|
|
checksum=2d6c02662547cb77fa6f21d82b033d4e2091603b2c4d3a3ad4a34c68f0af0f14
|
|
|
|
do_build() {
|
|
$CC ${CFLAGS} ${LDFLAGS} -D JFS -D GETUSER -D LARGEMEM -D X86 \
|
|
lmon${version}.c -lncurses -lm -o nmon
|
|
}
|
|
|
|
do_install() {
|
|
vbin nmon
|
|
}
|