wok-next view nmon/receipt @ rev 19866

Up eudev, rust-musl, slitaz-next, b43-fwcutter, cookutils, dbus, dmidecode, eudev, firmware, libidl, make-slitaz-icons, mirror-tools, tazdev, tazwikiss, yaff; add laptop-detect
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 19 02:54:15 2017 +0300 (2017-09-19)
parents c7c3567bd8d4
children 466bca9334ef
line source
1 # SliTaz package receipt
2 PACKAGE="nmon"
3 VERSION="14g"
4 CATEGORY="system-tools"
5 SHORT_DESC="Nigel's performance Monitor."
6 MAINTAINER="meshca@clarkson.edu"
7 TARBALL="lmon$VERSION.c"
8 LICENSE="GPL3"
9 WEB_SITE="http://nmon.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="ncurses"
13 BUILD_DEPENDS="linux-api-headers ncurses-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cc -o nmon lmon$VERSION.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM \
19 -lncurses -ltinfo -g -D POWER
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin/
26 cp -a $src/nmon $fs/usr/bin/nmon
27 }