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

nconf: remove compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 27 09:10:25 2013 +0200 (2013-04-27)
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 }