void-packages/srcpkgs/nmon/template

23 lines
593 B
Bash

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