wok view nmon/receipt @ rev 23981

Add dog
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 21 12:40:17 2020 +0000 (2020-11-21)
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 }