summaryrefslogtreecommitdiff
path: root/pcr/nagios-plugins/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-12-03 21:05:56 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-12-03 21:05:56 -0500
commit0fe755e60cece6ee398a9399bc69d517cb81bae3 (patch)
treedab904af3e0ce885d95f515c13996f27d640f51f /pcr/nagios-plugins/PKGBUILD
parent8efd4034846a00a6e07513451ce723df89fe5028 (diff)
parent7da2c7104bf0b90ad700b6fe3e99284802106cbe (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/nagios-plugins/PKGBUILD')
-rw-r--r--pcr/nagios-plugins/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/nagios-plugins/PKGBUILD b/pcr/nagios-plugins/PKGBUILD
new file mode 100644
index 000000000..e1379d193
--- /dev/null
+++ b/pcr/nagios-plugins/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Idares <idares@seznam.cz>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+
+pkgname=nagios-plugins
+pkgver=1.4.16
+pkgrel=1
+pkgdesc="Plugins are scripts and programs that perform host and service checks."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://www.nagiosplugins.org"
+source=("http://downloads.sourceforge.net/nagiosplug/$pkgname-$pkgver.tar.gz"
+ "stdio.patch")
+makedepends=('net-snmp')
+optdepends=('net-snmp: for SNMP checking.')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p1 -i "$srcdir/stdio.patch"
+ ./configure --prefix=/usr/share/nagios
+ make
+ make prefix=$startdir/pkg/usr/share/nagios install
+ make prefix=$startdir/pkg/usr/share/nagios install-root
+}
+
+sha1sums=('52db48b15572b98c6fcd8aaec2ef4d2aad7640d3'
+ '6a40a8bc8c907f5cf722e4440900d872767d465c')
+