aboutsummaryrefslogtreecommitdiff
path: root/package/monit/monit.mk
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-06-02 06:13:51 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2012-06-11 22:29:41 +0200
commit06ad6b03ed6145db19afe3a741858f531efd71c5 (patch)
tree1bddc9a85fc68682d782889fa4fa5ab67a44cfb7 /package/monit/monit.mk
parent922fdbcdda7a71447307f648e3c51f42232ddbbe (diff)
downloadbuildroot-06ad6b03ed6145db19afe3a741858f531efd71c5.tar.gz
buildroot-06ad6b03ed6145db19afe3a741858f531efd71c5.tar.bz2
monit: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/monit/monit.mk')
-rw-r--r--package/monit/monit.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/monit/monit.mk b/package/monit/monit.mk
new file mode 100644
index 0000000000..958618dc36
--- /dev/null
+++ b/package/monit/monit.mk
@@ -0,0 +1,30 @@
+#############################################################
+#
+# monit
+#
+#############################################################
+
+MONIT_VERSION = 5.4
+MONIT_SITE = http://mmonit.com/monit/dist/
+
+MONIT_CONF_ENV = \
+ libmonit_cv_setjmp_available=yes \
+ libmonit_cv_vsnprintf_c99_conformant=yes
+
+MONIT_CONF_OPT += \
+ --without-pam
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+MONIT_CONF_OPT += --with-ssl
+MONIT_DEPENDENCIES += openssl
+else
+MONIT_CONF_OPT += --without-ssl
+endif
+
+ifeq ($(BR2_LARGEFILE),y)
+MONIT_CONF_OPT += --with-largefiles
+else
+MONIT_CONF_OPT += --without-largefiles
+endif
+
+$(eval $(call AUTOTARGETS))