contrib/monit/Pkgfile

25 lines
529 B
Plaintext
Raw Normal View History

2007-12-10 21:29:47 +01:00
# Description: Utility for monitoring daemons running on a Unix system
2018-01-10 13:50:39 +01:00
# URL: http://www.tildeslash.com/monit/
# Maintainer: Juergen Daubert, jue at crux dot nu
2019-07-06 11:45:14 +02:00
# Depends on: openssl linux-pam
2007-12-10 21:29:47 +01:00
name=monit
2020-10-25 11:57:00 +01:00
version=5.27.1
2009-04-23 10:23:57 +02:00
release=1
2010-02-18 16:09:29 +01:00
source=(http://mmonit.com/$name/dist/$name-$version.tar.gz \
2020-10-25 11:57:00 +01:00
monitd)
2007-12-10 21:29:47 +01:00
build() {
2020-10-25 11:57:00 +01:00
cd $name-$version
2011-03-31 09:28:15 +02:00
2020-10-25 11:57:00 +01:00
./configure \
--prefix=/usr \
--sysconfdir=/etc
2011-03-31 09:28:15 +02:00
2020-10-25 11:57:00 +01:00
make
make DESTDIR=$PKG install
2011-03-31 09:28:15 +02:00
2020-10-25 11:57:00 +01:00
install -D -m 0755 $SRC/monitd $PKG/etc/rc.d/monitd
install -D -m 0700 monitrc $PKG/etc/monitrc
2007-12-10 21:29:47 +01:00
}