wok diff nmon/receipt @ rev 21747

tazboot: spare 2k
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 14 17:17:16 2019 +0200 (2019-06-14)
parents c7c3567bd8d4
children 91deca5512e1
line diff
     1.1 --- a/nmon/receipt	Wed Feb 18 09:35:09 2015 +0100
     1.2 +++ b/nmon/receipt	Fri Jun 14 17:17:16 2019 +0200
     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.