wok-6.x view nmon/receipt @ rev 18564

Up tazpkg-test(855)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 09 04:55:34 2015 +0200 (2015-11-09)
parents c7c3567bd8d4
children 91deca5512e1
line source
1 # SliTaz package receipt
2 PACKAGE="nmon"
3 VERSION="14g"
4 CATEGORY="system-tools"
5 SHORT_DESC="Nigel's performance Monitor."
6 MAINTAINER="meshca@clarkson.edu"
7 TARBALL="lmon$VERSION.c"
8 LICENSE="GPL3"
9 WEB_SITE="http://nmon.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="ncurses"
13 BUILD_DEPENDS="linux-api-headers ncurses-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cc -o nmon lmon$VERSION.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM \
19 -lncurses -ltinfo -g -D POWER
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin/
26 cp -a $src/nmon $fs/usr/bin/nmon
27 }