void-packages/srcpkgs/monitoring-plugins/template

28 lines
1.0 KiB
Bash

# Template file for 'monitoring-plugins'
pkgname=monitoring-plugins
version=2.3.1
revision=1
build_style=gnu-configure
configure_args="--libexecdir=/usr/lib/monitoring-plugins"
hostmakedepends="fping openssh postfix procps-ng smbclient net-snmp bind-utils sudo"
makedepends="libldap-devel libmariadbclient-devel postgresql-libs-devel
zlib-devel libcurl-devel uriparser-devel"
depends="iputils procps-ng"
#checkdepends="perl"
short_desc="Monitoring plugins for Nagios and compatible monitoring solutions"
maintainer="Corné Oppelaar <hello@eaterofco.de>"
license="GPL-3.0-or-later"
homepage="https://www.monitoring-plugins.org/"
changelog="https://www.monitoring-plugins.org/news/index.html"
distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
checksum=f56eb84871983fd719247249e3532228b37e2efaae657a3979bd14ac1f84a35b
do_configure() {
./configure ${configure_args} --with-ping-command='/usr/bin/iputils-ping -n -U -w %d -c %d %s' --with-ping6-command='/usr/bin/iputils-ping6 -n -U -w %d -c %d %s'
}
do_check() {
# Require interactivity
:
}