contrib/nagios-plugins/Pkgfile

25 lines
622 B
Plaintext
Raw Normal View History

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
version=1.4.16
2012-06-12 12:19:25 +02:00
release=1
source=(http://downloads.sourceforge.net/sourceforge/nagiosplug/$name-$version.tar.gz)
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
}