wok-next view nmon/receipt @ rev 17672
Add missing -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 17 12:55:08 2015 +0100 (2015-02-17) |
parents | 23c3aed67cd9 |
children | c7c3567bd8d4 |
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 LICENSE="GPL3"
8 WEB_SITE="http://nmon.sourceforge.net/"
10 DEPENDS="ncurses"
11 BUILD_DEPENDS="linux-api-headers ncurses-dev"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 export LDFLAGS="$LDFLAGS -ltinfo"
17 mkdir -p $src
18 cd $src
19 wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c"
20 cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D POWER
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin/
27 cp -a $src/nmon $fs/usr/bin/nmon
28 }