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

Up hp15c (4.0.00)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 03 15:14:01 2018 +0200 (2018-05-03)
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 }