c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
33 lines
744 B
Makefile
33 lines
744 B
Makefile
################################################################################
|
|
#
|
|
# monit
|
|
#
|
|
################################################################################
|
|
|
|
MONIT_VERSION = 5.7
|
|
MONIT_SITE = http://mmonit.com/monit/dist
|
|
MONIT_LICENSE = AGPLv3 with OpenSSL exception
|
|
MONIT_LICENSE_FILES = COPYING
|
|
|
|
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=$(STAGING_DIR)/usr
|
|
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 $(autotools-package))
|