diff options
Diffstat (limited to 'main/nrpe/APKBUILD')
-rw-r--r-- | main/nrpe/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/nrpe/APKBUILD b/main/nrpe/APKBUILD new file mode 100644 index 0000000000..ba12953e22 --- /dev/null +++ b/main/nrpe/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: +# Maintainer: +pkgname=nrpe +pkgver=2.12 +pkgrel=1 +pkgusers="nagios" +pkggroups="nagios" +pkgdesc="NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines." +url="http://www.nagios.org/download/addons" +license="GPL" +depends="" +makedepends="openssl-dev perl" +install="nrpe.pre-install" +subpackages= +source="http://downloads.sourceforge.net/nagios/$pkgname-$pkgver.tar.gz + nrpe.initd" + +build() { + cd "$srcdir"/$pkgname-$pkgver + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install install-daemon-config + install -Dm755 ../nrpe.initd "$pkgdir"/etc/init.d/nrpe +} + +md5sums="b2d75e2962f1e3151ef58794d60c9e97 nrpe-2.12.tar.gz +a1e3fbbfdd46437f7385742d49d5eb85 nrpe.initd" |