wok-6.x rev 11970
Add: nmon 14g (thank Naitsirhc)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 02 19:29:18 2012 +0100 (2012-03-02) |
parents | 3939cc1ce36d |
children | 16a673068336 |
files | nmon/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nmon/receipt Fri Mar 02 19:29:18 2012 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt 1.5 +PACKAGE="nmon" 1.6 +VERSION="14g" 1.7 +CATEGORY="system-tools" 1.8 +SHORT_DESC="Nigel's performance Monitor." 1.9 +MAINTAINER="meshca@clarkson.edu" 1.10 +DEPENDS="ncurses" 1.11 +BUILD_DEPENDS="linux-api-headers ncurses-dev" 1.12 +WEB_SITE="http://nmon.sourceforge.net/" 1.13 + 1.14 +# Rules to configure and make the package. 1.15 +compile_rules() 1.16 +{ 1.17 + mkdir -p $src 1.18 + cd $src 1.19 + wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c" 1.20 + cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D POWER 1.21 +} 1.22 + 1.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 +genpkg_rules() 1.25 +{ 1.26 + mkdir -p $fs/usr/bin/ 1.27 + cp -a $src/nmon $fs/usr/bin/nmon 1.28 +}