wok-6.x annotate nmon/receipt @ rev 12952

wv: fix configure
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 31 13:01:06 2012 +0200 (2012-05-31)
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 }