updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / nmon2rrd / PKGBUILD
blob490742a845ddecabd7f6381a2977ba195c553c41
1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=nmon2rrd
4 pkgver=12g
5 pkgrel=2
6 pkgdesc="Filter to convert nmon output files to rrdtool format"
7 arch=('i686')
8 url="http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/nmon"
9 license=("custom")
10 depends=('glibc')
11 source=("http://www.ibm.com/developerworks/wikis/download/attachments/53871937/${pkgname}v${pkgver}.tar?version=1")
12 md5sums=('87faf8597e4cea5933b8d6d204322fc8')
14 build() {
15 cd $srcdir
16 sed -i "s/#include <strings.h>/#include <string.h>/" nmon2rrd.c
17 gcc -onmon2rrd nmon2rrd.c
20 package() {
21 install -D -m755 $srcdir/nmon2rrd $pkgdir/usr/bin/nmon2rrd