wok-6.x view nmon/receipt @ rev 12151

sarg: Customising config file
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 15 00:26:36 2012 +0100 (2012-03-15)
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 }