diff options
Diffstat (limited to 'community/nmon')
-rw-r--r-- | community/nmon/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/nmon/PKGBUILD b/community/nmon/PKGBUILD new file mode 100644 index 000000000..6420dedb8 --- /dev/null +++ b/community/nmon/PKGBUILD @@ -0,0 +1,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') +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" +} |