wok-stable view nmon/receipt @ rev 11970

Add: nmon 14g (thank Naitsirhc)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 02 19:29:18 2012 +0100 (2012-03-02)
parents
children
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 DEPENDS="ncurses"
8 BUILD_DEPENDS="linux-api-headers ncurses-dev"
9 WEB_SITE="http://nmon.sourceforge.net/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 mkdir -p $src
15 cd $src
16 wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c"
17 cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D POWER
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin/
24 cp -a $src/nmon $fs/usr/bin/nmon
25 }