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