mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
nmon: simplify: use build_style=fetch and vbin.
This commit is contained in:
parent
e8f964871d
commit
9f2f5586a1
1 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=nmon
|
||||
version=15e
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
build_style=fetch
|
||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||
makedepends="ncurses-devel"
|
||||
depends="ncurses"
|
||||
|
@ -10,14 +10,13 @@ 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=166354260d0749acff16a7b21c3518b4c85fa3a35db61c06537988a8069445fa
|
||||
|
||||
do_build() {
|
||||
$CC ${CFLAGS} ${LDFLAGS} -D JFS -D GETUSER -D LARGEMEM -D X86 \
|
||||
${XBPS_SRCDISTDIR}/${pkgname}-${version}/lmon${version}.c -lncurses -lm -o nmon
|
||||
lmon${version}.c -lncurses -lm -o nmon
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall nmon 755 usr/bin/
|
||||
vbin nmon
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue