wok-next view nmon/receipt @ rev 19401

memtest: DOS shutdown (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 13:03:50 2016 +0200 (2016-09-03)
parents c7c3567bd8d4
children 466bca9334ef
line source
1 # SliTaz package receipt
2 PACKAGE="nmon"
3 VERSION="14g"
4 CATEGORY="system-tools"
5 SHORT_DESC="Nigel's performance Monitor."
6 MAINTAINER="meshca@clarkson.edu"
7 TARBALL="lmon$VERSION.c"
8 LICENSE="GPL3"
9 WEB_SITE="http://nmon.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="ncurses"
13 BUILD_DEPENDS="linux-api-headers ncurses-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cc -o nmon lmon$VERSION.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM \
19 -lncurses -ltinfo -g -D POWER
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin/
26 cp -a $src/nmon $fs/usr/bin/nmon
27 }