void-packages/srcpkgs/monitoring-plugins/template

26 lines
933 B
Bash

# Template file for 'monitoring-plugins'
pkgname=monitoring-plugins
version=2.2
revision=5
build_style=gnu-configure
configure_args="--libexecdir=/usr/lib/monitoring-plugins"
hostmakedepends="fping openssh postfix procps-ng smbclient"
makedepends="libldap-devel libmysqlclient-devel postgresql-libs-devel
zlib-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/"
distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
checksum=296a538f00a9cbef7f528ff2d43af357a44b384dc98a32389a675b62a6dd3665
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
:
}