wok view nmon/receipt @ rev 25077

updated openvswitch and openvswitch-dev (2.14.0 -> 2.17.1)
author Hans-G?nter Theisgen
date Wed Jun 15 14:50:09 2022 +0100 (2022-06-15)
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 }