13c72e379b
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for AGPLv3 is AGPL-3.0. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/AGPLv3/AGPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
38 lines
842 B
Makefile
38 lines
842 B
Makefile
################################################################################
|
|
#
|
|
# monit
|
|
#
|
|
################################################################################
|
|
|
|
MONIT_VERSION = 5.20.0
|
|
MONIT_SITE = http://mmonit.com/monit/dist
|
|
MONIT_LICENSE = AGPL-3.0 with OpenSSL exception
|
|
MONIT_LICENSE_FILES = COPYING
|
|
#
|
|
# Touching Makefile.am:
|
|
MONIT_AUTORECONF = YES
|
|
|
|
MONIT_CONF_ENV = \
|
|
libmonit_cv_setjmp_available=yes \
|
|
libmonit_cv_vsnprintf_c99_conformant=yes
|
|
|
|
MONIT_CONF_OPTS += \
|
|
--without-pam \
|
|
--with-largefiles
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
MONIT_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
|
|
MONIT_DEPENDENCIES += openssl
|
|
else
|
|
MONIT_CONF_OPTS += --without-ssl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
MONIT_CONF_OPTS += --with-zlib
|
|
MONIT_DEPENDENCIES += zlib
|
|
else
|
|
MONIT_CONF_OPTS += --without-zlib
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|