kumquat-buildroot/package/log4cxx/log4cxx.mk
Fabrice Fontaine 2ff7035394 package/log4cxx: add libesmtp optional dependency
libesmtp is an optional dependency (disabled by default) since version
0.10.0 and
8a35b429c6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-08-28 17:00:15 +02:00

33 lines
912 B
Makefile

################################################################################
#
# log4cxx
#
################################################################################
LOG4CXX_VERSION = 0.11.0
LOG4CXX_SITE = http://archive.apache.org/dist/logging/log4cxx/$(LOG4CXX_VERSION)
LOG4CXX_SOURCE = apache-log4cxx-$(LOG4CXX_VERSION).tar.gz
LOG4CXX_INSTALL_STAGING = YES
LOG4CXX_LICENSE = Apache-2.0
LOG4CXX_LICENSE_FILES = LICENSE
# error: required file './compile' not found
LOG4CXX_AUTORECONF = YES
LOG4CXX_CONF_OPTS = \
--with-apr=$(STAGING_DIR)/usr/bin/apr-1-config \
--with-apr-util=$(STAGING_DIR)/usr/bin/apu-1-config \
--disable-dot \
--disable-doxygen \
--disable-html-docs
LOG4CXX_DEPENDENCIES = apr apr-util
ifeq ($(BR2_PACKAGE_LIBESMTP),y)
LOG4CXX_DEPENDENCIES += libesmtp
LOG4CXX_CONF_OPTS += --with-SMTP=libesmtp
else
LOG4CXX_CONF_OPTS += --without-SMTP
endif
$(eval $(autotools-package))