wok-current annotate nmon/receipt @ rev 23447
updated proj and proj-dev (6.1.0 -> 7.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 02 17:36:09 2020 +0100 (2020-04-02) |
parents | 40522d4dfb64 |
children | afae00265386 |
rev | line source |
---|---|
gokhlayeh@11970 | 1 # SliTaz package receipt |
Hans-G?nter@23247 | 2 |
gokhlayeh@11970 | 3 PACKAGE="nmon" |
Hans-G?nter@23247 | 4 VERSION="16m" |
gokhlayeh@11970 | 5 CATEGORY="system-tools" |
gokhlayeh@11970 | 6 SHORT_DESC="Nigel's performance Monitor." |
gokhlayeh@11970 | 7 MAINTAINER="meshca@clarkson.edu" |
pascal@15601 | 8 LICENSE="GPL3" |
pascal@15601 | 9 WEB_SITE="http://nmon.sourceforge.net/" |
Hans-G?nter@23247 | 10 |
Hans-G?nter@23247 | 11 TARBALL="lmon$VERSION.c" |
pascal@17675 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15601 | 13 |
Hans-G?nter@23247 | 14 DEPENDS="ncursesw" |
Hans-G?nter@23249 | 15 BUILD_DEPENDS="glibc-base linux-api-headers ncursesw-dev" |
gokhlayeh@11970 | 16 |
gokhlayeh@11970 | 17 # Rules to configure and make the package. |
gokhlayeh@11970 | 18 compile_rules() |
gokhlayeh@11970 | 19 { |
Hans-G?nter@23247 | 20 cc -o nmon lmon$VERSION.c \ |
Hans-G?nter@23247 | 21 -g -O2 \ |
Hans-G?nter@23247 | 22 -D JFS -D GETUSER -D LARGEMEM -D POWER \ |
pascal@23256 | 23 -Wall \ |
Hans-G?nter@23247 | 24 -lm -lncursesw -ltinfo -g |
gokhlayeh@11970 | 25 } |
gokhlayeh@11970 | 26 |
gokhlayeh@11970 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@11970 | 28 genpkg_rules() |
gokhlayeh@11970 | 29 { |
gokhlayeh@11970 | 30 mkdir -p $fs/usr/bin/ |
Hans-G?nter@23247 | 31 cp -a $src/nmon $fs/usr/bin/nmon |
gokhlayeh@11970 | 32 } |