22 lines
593 B
Bash
22 lines
593 B
Bash
# Template file for 'nmon'
|
|
pkgname=nmon
|
|
version=15e
|
|
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=166354260d0749acff16a7b21c3518b4c85fa3a35db61c06537988a8069445fa
|
|
|
|
do_build() {
|
|
$CC ${CFLAGS} ${LDFLAGS} -D JFS -D GETUSER -D LARGEMEM -D X86 \
|
|
lmon${version}.c -lncurses -lm -o nmon
|
|
}
|
|
|
|
do_install() {
|
|
vbin nmon
|
|
}
|