23 lines
708 B
Plaintext
23 lines
708 B
Plaintext
# Description: Utility for monitoring daemons running on a Unix system
|
|
# URL: http://www.tildeslash.com/monit/
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
# Depends on: openssl
|
|
|
|
name=monit
|
|
version=4.10.1
|
|
release=1
|
|
source=(http://www.tildeslash.com/${name}/dist/${name}-${version}.tar.gz \
|
|
monitd)
|
|
|
|
build() {
|
|
cd ${name}-${version}
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--sysconfdir=/usr/etc
|
|
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}/usr/etc/monitrc
|
|
}
|