wok-current view nmon/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents c7c3567bd8d4
children 91deca5512e1
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 }