wok view nmon/receipt @ rev 15021

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 18:44:25 2013 +0000 (2013-08-11)
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 }