34 lines
903 B
Bash
34 lines
903 B
Bash
# Template file for 'monit'
|
|
pkgname=monit
|
|
version=5.34.0
|
|
revision=1
|
|
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 openssl-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/monit-${version}.tar.gz"
|
|
checksum=37f514cd8973bbce104cb8517ff3fc504052a083703eee0d0e873db26b919820
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
makedepends+=" libxcrypt-devel"
|
|
fi
|
|
|
|
pre_configure() {
|
|
./bootstrap
|
|
}
|
|
|
|
post_install() {
|
|
vinstall monitrc 0600 etc
|
|
vsv monit
|
|
vlicense COPYING
|
|
}
|