contrib/monit/Pkgfile

26 lines
631 B
Plaintext

# Description: Utility for monitoring daemons running on a Unix system
# URL: http://www.tildeslash.com/monit/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: openssl
name=monit
version=5.25.1
release=1
source=(http://mmonit.com/$name/dist/$name-$version.tar.gz \
monitd)
build() {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--without-pam
make
make DESTDIR=$PKG install
install -D -m 0755 $SRC/monitd $PKG/etc/rc.d/monitd
install -D -m 0700 $SRC/$name-$version/monitrc $PKG/etc/monitrc
}