wok-next diff nmon/receipt @ rev 19379
Up sxiv (15082016)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Aug 15 18:37:12 2016 +0100 (2016-08-15) |
parents | c7c3567bd8d4 |
children | 466bca9334ef |
line diff
1.1 --- a/nmon/receipt Wed Feb 18 09:35:09 2015 +0100 1.2 +++ b/nmon/receipt Mon Aug 15 18:37:12 2016 +0100 1.3 @@ -4,8 +4,10 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="Nigel's performance Monitor." 1.6 MAINTAINER="meshca@clarkson.edu" 1.7 +TARBALL="lmon$VERSION.c" 1.8 LICENSE="GPL3" 1.9 WEB_SITE="http://nmon.sourceforge.net/" 1.10 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.11 1.12 DEPENDS="ncurses" 1.13 BUILD_DEPENDS="linux-api-headers ncurses-dev" 1.14 @@ -13,10 +15,8 @@ 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 { 1.18 - mkdir -p $src 1.19 - cd $src 1.20 - wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c" 1.21 - cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -ltinfo -g -D POWER 1.22 + cc -o nmon lmon$VERSION.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM \ 1.23 + -lncurses -ltinfo -g -D POWER 1.24 } 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg.