wok-current annotate nmon/receipt @ rev 16710
squidguard: Add patch
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu May 29 00:03:26 2014 +0200 (2014-05-29) |
parents | 126585d09e0c |
children | 3ba8d2c9720d |
rev | line source |
---|---|
gokhlayeh@11970 | 1 # SliTaz package receipt |
gokhlayeh@11970 | 2 PACKAGE="nmon" |
gokhlayeh@11970 | 3 VERSION="14g" |
gokhlayeh@11970 | 4 CATEGORY="system-tools" |
gokhlayeh@11970 | 5 SHORT_DESC="Nigel's performance Monitor." |
gokhlayeh@11970 | 6 MAINTAINER="meshca@clarkson.edu" |
pascal@15601 | 7 LICENSE="GPL3" |
pascal@15601 | 8 WEB_SITE="http://nmon.sourceforge.net/" |
pascal@15601 | 9 |
gokhlayeh@11970 | 10 DEPENDS="ncurses" |
gokhlayeh@11970 | 11 BUILD_DEPENDS="linux-api-headers ncurses-dev" |
gokhlayeh@11970 | 12 |
gokhlayeh@11970 | 13 # Rules to configure and make the package. |
gokhlayeh@11970 | 14 compile_rules() |
gokhlayeh@11970 | 15 { |
gokhlayeh@11970 | 16 mkdir -p $src |
gokhlayeh@11970 | 17 cd $src |
gokhlayeh@11970 | 18 wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c" |
gokhlayeh@11970 | 19 cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D POWER |
gokhlayeh@11970 | 20 } |
gokhlayeh@11970 | 21 |
gokhlayeh@11970 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@11970 | 23 genpkg_rules() |
gokhlayeh@11970 | 24 { |
gokhlayeh@11970 | 25 mkdir -p $fs/usr/bin/ |
gokhlayeh@11970 | 26 cp -a $src/nmon $fs/usr/bin/nmon |
gokhlayeh@11970 | 27 } |