wok annotate nmon/receipt @ rev 14015

Up gstreamer (0.10.36)
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 19:53:32 2013 +0100 (2013-02-17)
parents
children 23c3aed67cd9
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"
gokhlayeh@11970 7 DEPENDS="ncurses"
gokhlayeh@11970 8 BUILD_DEPENDS="linux-api-headers ncurses-dev"
gokhlayeh@11970 9 WEB_SITE="http://nmon.sourceforge.net/"
gokhlayeh@11970 10
gokhlayeh@11970 11 # Rules to configure and make the package.
gokhlayeh@11970 12 compile_rules()
gokhlayeh@11970 13 {
gokhlayeh@11970 14 mkdir -p $src
gokhlayeh@11970 15 cd $src
gokhlayeh@11970 16 wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c"
gokhlayeh@11970 17 cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D POWER
gokhlayeh@11970 18 }
gokhlayeh@11970 19
gokhlayeh@11970 20 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@11970 21 genpkg_rules()
gokhlayeh@11970 22 {
gokhlayeh@11970 23 mkdir -p $fs/usr/bin/
gokhlayeh@11970 24 cp -a $src/nmon $fs/usr/bin/nmon
gokhlayeh@11970 25 }