aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nrpe/APKBUILD
blob: ab7403cb60337cb9beafe5cd720d86cbe2ec4167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: 
# Maintainer: 
pkgname=nrpe
pkgver=2.12
pkgrel=0
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=
subpackages=
source="http://downloads.sourceforge.net/nagios/$pkgname-$pkgver.tar.gz"

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
}

md5sums="b2d75e2962f1e3151ef58794d60c9e97  nrpe-2.12.tar.gz"