void-packages/srcpkgs/nmon/template
2015-04-17 11:37:29 +02:00

23 lines
682 B
Bash

# Template file for 'nmon'
pkgname=nmon
version=15d
revision=1
create_wrksrc=yes
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"
skip_extraction="lmon${version}.c"
checksum=2ccdd7448be35c2305254dc5b2e6a2a10f3fc0ca132269cf6669ebe6ea64ffea
do_build() {
$CC ${CFLAGS} ${LDFLAGS} -D JFS -D GETUSER -D LARGEMEM -D X86 \
${XBPS_SRCDISTDIR}/${pkgname}-${version}/lmon${version}.c -lncurses -o nmon
}
do_install() {
vinstall nmon 755 usr/bin/
}