wok view nmon/receipt @ rev 16448
Up: slitaz-tools (bug fix) + slitaz-arm-rpi with a bunch of new functions
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 19 00:20:05 2014 +0200 (2014-04-19) |
parents | 126585d09e0c |
children | 3ba8d2c9720d |
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 LICENSE="GPL3"
8 WEB_SITE="http://nmon.sourceforge.net/"
10 DEPENDS="ncurses"
11 BUILD_DEPENDS="linux-api-headers ncurses-dev"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mkdir -p $src
17 cd $src
18 wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c"
19 cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -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 }