wok-next annotate nmon/receipt @ rev 19669

syslinux: kbd 2.0.3 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 17 19:37:21 2017 +0100 (2017-03-17)
parents c7c3567bd8d4
children 466bca9334ef
rev   line source
gokhlayeh@11970 1 # SliTaz package receipt
gokhlayeh@11970 2 PACKAGE="nmon"
gokhlayeh@11970 3 VERSION="14g"
gokhlayeh@11970 4 CATEGORY="system-tools"
gokhlayeh@11970 5 SHORT_DESC="Nigel's performance Monitor."
gokhlayeh@11970 6 MAINTAINER="meshca@clarkson.edu"
pascal@17675 7 TARBALL="lmon$VERSION.c"
pascal@15601 8 LICENSE="GPL3"
pascal@15601 9 WEB_SITE="http://nmon.sourceforge.net/"
pascal@17675 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15601 11
gokhlayeh@11970 12 DEPENDS="ncurses"
gokhlayeh@11970 13 BUILD_DEPENDS="linux-api-headers ncurses-dev"
gokhlayeh@11970 14
gokhlayeh@11970 15 # Rules to configure and make the package.
gokhlayeh@11970 16 compile_rules()
gokhlayeh@11970 17 {
pascal@17675 18 cc -o nmon lmon$VERSION.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM \
pascal@17675 19 -lncurses -ltinfo -g -D POWER
gokhlayeh@11970 20 }
gokhlayeh@11970 21
gokhlayeh@11970 22 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@11970 23 genpkg_rules()
gokhlayeh@11970 24 {
gokhlayeh@11970 25 mkdir -p $fs/usr/bin/
gokhlayeh@11970 26 cp -a $src/nmon $fs/usr/bin/nmon
gokhlayeh@11970 27 }