void-packages/srcpkgs/nmon/template

23 lines
606 B
Bash

# Template file for 'nmon'
pkgname=nmon
version=16i
revision=1
build_style=fetch
makedepends="ncurses-devel"
depends="ncurses"
short_desc="Nigel's performance Monitor for Linux"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="GPL-3.0-or-later"
homepage="http://nmon.sourceforge.net/pmwiki.php?n=Main.HomePage"
distfiles="${SOURCEFORGE_SITE}/nmon/files/lmon${version}.c"
checksum=af66d756cc1146a4a4101c5595ca8c99b4f84cb9e7e7f58a080773e8e6b6a24c
do_build() {
$CC ${CFLAGS} ${LDFLAGS} -D JFS -D GETUSER -D LARGEMEM -D X86 \
lmon${version}.c -lncurses -lm -o nmon
}
do_install() {
vbin nmon
}