wok-next view nmon/receipt @ rev 14157
Up: nspr-dev (4.9.4)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 05 22:39:47 2013 +0100 (2013-03-05) |
parents | |
children | 23c3aed67cd9 |
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 }