wok view nmon/receipt @ rev 24383

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 11:51:57 2022 +0000 (2022-02-06)
parents 40522d4dfb64
children afae00265386
line source
1 # SliTaz package receipt
3 PACKAGE="nmon"
4 VERSION="16m"
5 CATEGORY="system-tools"
6 SHORT_DESC="Nigel's performance Monitor."
7 MAINTAINER="meshca@clarkson.edu"
8 LICENSE="GPL3"
9 WEB_SITE="http://nmon.sourceforge.net/"
11 TARBALL="lmon$VERSION.c"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="glibc-base linux-api-headers ncursesw-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cc -o nmon lmon$VERSION.c \
21 -g -O2 \
22 -D JFS -D GETUSER -D LARGEMEM -D POWER \
23 -Wall \
24 -lm -lncursesw -ltinfo -g
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin/
31 cp -a $src/nmon $fs/usr/bin/nmon
32 }