wok annotate nmon/receipt @ rev 19741
Up rrdtool (1.6.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 13:40:10 2017 +0100 (2017-02-18) |
parents | c7c3567bd8d4 |
children | 91deca5512e1 |
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@17675 | 7 TARBALL="lmon$VERSION.c" |
pascal@15601 | 8 LICENSE="GPL3" |
pascal@15601 | 9 WEB_SITE="http://nmon.sourceforge.net/" |
pascal@17675 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15601 | 11 |
gokhlayeh@11970 | 12 DEPENDS="ncurses" |
gokhlayeh@11970 | 13 BUILD_DEPENDS="linux-api-headers ncurses-dev" |
gokhlayeh@11970 | 14 |
gokhlayeh@11970 | 15 # Rules to configure and make the package. |
gokhlayeh@11970 | 16 compile_rules() |
gokhlayeh@11970 | 17 { |
pascal@17675 | 18 cc -o nmon lmon$VERSION.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM \ |
pascal@17675 | 19 -lncurses -ltinfo -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 } |