void-packages/srcpkgs/nmon/template

25 lines
716 B
Plaintext
Raw Normal View History

2014-07-03 15:49:10 +00:00
# Template file for 'nmon'
pkgname=nmon
version=14i
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"
2014-11-01 20:53:39 +00:00
update_pattern="lmon\K.+?(?=\.c)"
2014-07-03 15:49:10 +00:00
short_desc="Nigel's performance Monitor for Linux"
2014-11-01 20:53:39 +00:00
distfiles="${SOURCEFORGE_SITE}/nmon/files/lmon${version}.c"
2014-07-03 15:49:10 +00:00
skip_extraction="lmon${version}.c"
checksum=d401cb5048e3e8e8f1ad63e68a0499c73ec64d5d2b7c41a1aeb2b596374eaa86
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/
}