wok-current rev 17675
nmon: keep source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 11:21:08 2015 +0100 (2015-02-18) |
parents | 5f652b930fb9 |
children | 4ae0fc492374 |
files | mp/receipt nmon/receipt |
line diff
1.1 --- a/mp/receipt Wed Feb 18 11:02:05 2015 +0100 1.2 +++ b/mp/receipt Wed Feb 18 11:21:08 2015 +0100 1.3 @@ -12,6 +12,7 @@ 1.4 TAGS="text-editor" 1.5 1.6 DEPENDS="gtk+" 1.7 +BUILD_DEPENDS="gtk+-dev" 1.8 1.9 # Rules to configure and make the package. 1.10 compile_rules()
2.1 --- a/nmon/receipt Wed Feb 18 11:02:05 2015 +0100 2.2 +++ b/nmon/receipt Wed Feb 18 11:21:08 2015 +0100 2.3 @@ -4,8 +4,10 @@ 2.4 CATEGORY="system-tools" 2.5 SHORT_DESC="Nigel's performance Monitor." 2.6 MAINTAINER="meshca@clarkson.edu" 2.7 +TARBALL="lmon$VERSION.c" 2.8 LICENSE="GPL3" 2.9 WEB_SITE="http://nmon.sourceforge.net/" 2.10 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.11 2.12 DEPENDS="ncurses" 2.13 BUILD_DEPENDS="linux-api-headers ncurses-dev" 2.14 @@ -13,10 +15,8 @@ 2.15 # Rules to configure and make the package. 2.16 compile_rules() 2.17 { 2.18 - mkdir -p $src 2.19 - cd $src 2.20 - wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c" 2.21 - cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -ltinfo -g -D POWER 2.22 + cc -o nmon lmon$VERSION.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM \ 2.23 + -lncurses -ltinfo -g -D POWER 2.24 } 2.25 2.26 # Rules to gen a SliTaz package suitable for Tazpkg.