2012-06-12 13:26:59 +02:00
|
|
|
# Description: Standalone extensions to Nagios Core
|
2012-06-12 12:19:25 +02:00
|
|
|
# URL: http://www.nagios.org/project/nagiosplugins
|
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
|
|
# Depends on: nagios net-snmp
|
|
|
|
|
|
|
|
name=nagios-plugins
|
2014-08-22 16:08:26 +02:00
|
|
|
version=2.0.3
|
2012-06-12 12:19:25 +02:00
|
|
|
release=1
|
2014-08-22 16:08:26 +02:00
|
|
|
source=(http://nagios-plugins.org/download/$name-$version.tar.gz)
|
2012-06-12 12:19:25 +02:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure --prefix=/usr/share/nagios \
|
|
|
|
--libexecdir=/usr/lib/nagios/plugins \
|
|
|
|
--with-nagios-user=nagios \
|
|
|
|
--with-nagios-group=nagios \
|
|
|
|
--disable-nls
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2012-06-12 13:26:59 +02:00
|
|
|
|
|
|
|
rm -rf $PKG/usr/share
|
2012-06-12 12:19:25 +02:00
|
|
|
}
|