summaryrefslogtreecommitdiff
path: root/community/nmon/PKGBUILD
blob: c17e268d887884d1cd0d0aa61488aff677db52e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 67998 2012-03-16 23:55:43Z giovanni $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>

pkgname=nmon
pkgver=14g
pkgrel=3
pkgdesc="AIX & Linux Performance Monitoring tool"
arch=('i686' 'x86_64' 'mips64el')
url="http://nmon.sourceforge.net"
license=('GPL')
depends=('ncurses')
source=("http://downloads.sourceforge.net/${pkgname}/lmon$pkgver.c")
md5sums=('e537f51446fb375140368b115dc8278b')

build() {
  cd ${srcdir}

  cc -o nmon lmon$pkgver.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g
}

package() {
  cd ${srcdir}

  install -D -m 0755 nmon "${pkgdir}/usr/bin/nmon"
}