wok-current diff nmon/receipt @ rev 14756

linux-uml: add default initrd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 18 09:58:46 2013 +0200 (2013-06-18)
parents
children 23c3aed67cd9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nmon/receipt	Tue Jun 18 09:58:46 2013 +0200
     1.3 @@ -0,0 +1,25 @@
     1.4 +# SliTaz package receipt
     1.5 +PACKAGE="nmon"
     1.6 +VERSION="14g"
     1.7 +CATEGORY="system-tools"
     1.8 +SHORT_DESC="Nigel's performance Monitor."
     1.9 +MAINTAINER="meshca@clarkson.edu"
    1.10 +DEPENDS="ncurses"
    1.11 +BUILD_DEPENDS="linux-api-headers ncurses-dev"
    1.12 +WEB_SITE="http://nmon.sourceforge.net/"
    1.13 +
    1.14 +# Rules to configure and make the package.
    1.15 +compile_rules()
    1.16 +{
    1.17 +	mkdir -p $src
    1.18 +	cd $src
    1.19 +	wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c"
    1.20 +	cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D POWER
    1.21 +}
    1.22 +					
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs/usr/bin/
    1.27 +	cp -a $src/nmon $fs/usr/bin/nmon
    1.28 +}