summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroli2015-06-12 22:00:18 +0200
committeroli2015-06-12 22:00:18 +0200
commitfdb2281e1775669c8a6ae6067494ca451fdcf47f (patch)
treedabb8bf6faf0035645f5f1a3e67221d0d9684302
downloadaur-fdb2281e1775669c8a6ae6067494ca451fdcf47f.tar.gz
Initial import
-rw-r--r--.AURINFO13
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
3 files changed, 49 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..bcc7a5e4d2a
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,13 @@
+pkgbase = nmon2rrd
+ pkgdesc = Filter to convert nmon output files to rrdtool format
+ pkgver = 17a
+ pkgrel = 1
+ url = http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/nmon
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = glibc
+ source = https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/61ad9cf2-c6a3-4d2c-b779-61ff0266d32a/page/190cda06-6ee0-48c7-9cb1-eeb0d14897ad/attachment/135bb742-4bcb-40d3-beb5-aba44d769f23/media/nmon2rrdv17a.tar
+
+pkgname = nmon2rrd
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..943423b6421
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = nmon2rrd
+ pkgdesc = Filter to convert nmon output files to rrdtool format
+ pkgver = 17a
+ pkgrel = 1
+ url = http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/nmon
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = glibc
+ source = https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/61ad9cf2-c6a3-4d2c-b779-61ff0266d32a/page/190cda06-6ee0-48c7-9cb1-eeb0d14897ad/attachment/135bb742-4bcb-40d3-beb5-aba44d769f23/media/nmon2rrdv17a.tar
+ md5sums = e68339f813628887aa859b71b4171a18
+
+pkgname = nmon2rrd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..688fdce7b6d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: jose <jose1711 [at] gmail (dot) com>
+
+pkgname=nmon2rrd
+pkgver=17a
+pkgrel=1
+pkgdesc="Filter to convert nmon output files to rrdtool format"
+arch=('i686' 'x86_64')
+url="http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/nmon"
+license=("custom")
+depends=('glibc')
+source=("https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/61ad9cf2-c6a3-4d2c-b779-61ff0266d32a/page/190cda06-6ee0-48c7-9cb1-eeb0d14897ad/attachment/135bb742-4bcb-40d3-beb5-aba44d769f23/media/${pkgname}v${pkgver}.tar")
+md5sums=('e68339f813628887aa859b71b4171a18')
+
+build() {
+cd $srcdir
+sed -i "s/#include <strings.h>/#include <string.h>/" nmon2rrd_17.c
+gcc -onmon2rrd nmon2rrd_17.c
+}
+
+package() {
+install -D -m755 $srcdir/nmon2rrd $pkgdir/usr/bin/nmon2rrd
+}