void-packages/srcpkgs/monitoring-plugins/template

19 lines
888 B
Bash

# Template file for 'monitoring-plugins'
pkgname=monitoring-plugins
version=2.1.2
revision=2
build_style=gnu-configure
configure_args="--libexecdir=/usr/lib/monitoring-plugins"
hostmakedepends="fping procps-ng openssh smbclient postfix"
makedepends="libressl-devel libldap-devel postgresql-libs-devel libmysqlclient libmysqlclient-devel zlib-devel"
depends="iputils procps-ng"
short_desc="Monitoring plugins for Nagios and compatible monitoring solutions"
maintainer="Corné Oppelaar <hello@eaterofco.de>"
license="GPL-3"
homepage="https://www.monitoring-plugins.org/"
distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
checksum=76c6b58f0867ab7b6c8c86c7e94fcce7183618f6daab63488990d0355f5600aa
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'
}