wok-current view nmon/receipt @ rev 25372

updated trash-cli (0.17.1.14 -> 0.22.4.16)
author Hans-G?nter Theisgen
date Fri Jul 29 14:58:56 2022 +0100 (2022-07-29)
parents b15cc3561ef8
children 7dd01dedad38
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/nmon/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/lmon/!d;/c.down/!d;s|.*files/lmon||;s|.c/down.*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cc -o nmon lmon$VERSION.c \
28 -g -O2 \
29 -D JFS -D GETUSER -D LARGEMEM -D POWER \
30 -Wall \
31 -lm -lncursesw -ltinfo -g
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin/
38 cp -a $src/nmon $fs/usr/bin/nmon
39 }