void-packages/srcpkgs/monitoring-plugins/template

28 lines
1.0 KiB
Bash

# Template file for 'monitoring-plugins'
pkgname=monitoring-plugins
version=2.3.2
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=8d9405baf113a9f25e4fb961d56f9f231da02e3ada0f41dbb0fa4654534f717b
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
:
}