void-packages/srcpkgs/monit/template

30 lines
817 B
Bash

# Template file for 'monit'
pkgname=monit
version=5.27.0
revision=2
build_style=gnu-configure
configure_args="
--with-ssl-dir=${XBPS_CROSS_BASE}/usr
libmonit_cv_setjmp_available=yes
libmonit_cv_vsnprintf_c99_conformant=yes"
conf_files="/etc/monitrc"
hostmakedepends="automake libtool perl"
makedepends="pam-devel libressl-devel zlib-devel"
short_desc="Utility for monitoring, processes, files, directories and devices"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="AGPL-3.0-only"
homepage="https://mmonit.com/monit/"
changelog="https://mmonit.com/monit/changes/"
distfiles="https://mmonit.com/monit/dist/${pkgname}-${version}.tar.gz"
checksum=d8c0deef624f193a952502fe9baabfa66e3d8d057df5738da43f9a37792afca4
pre_configure() {
./bootstrap
}
post_install() {
vconf monitrc
vsv monit
vlicense COPYING
}