b8098ff155
Drop patch which was merged:5240a3db1b
and updated:b7284609ae
https://logging.apache.org/log4cxx/latest_stable/changelog.html#0.13.0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
35 lines
911 B
Makefile
35 lines
911 B
Makefile
################################################################################
|
|
#
|
|
# log4cxx
|
|
#
|
|
################################################################################
|
|
|
|
LOG4CXX_VERSION = 0.13.0
|
|
LOG4CXX_SITE = https://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
|
|
|
|
LOG4CXX_CONF_OPTS = \
|
|
-DAPR_CONFIG_EXECUTABLE=$(STAGING_DIR)/usr/bin/apr-1-config \
|
|
-DAPR_UTIL_CONFIG_EXECUTABLE=$(STAGING_DIR)/usr/bin/apu-1-config
|
|
|
|
LOG4CXX_DEPENDENCIES = apr apr-util
|
|
|
|
ifeq ($(BR2_PACKAGE_BOOST),y)
|
|
LOG4CXX_DEPENDENCIES += boost
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBESMTP),y)
|
|
LOG4CXX_DEPENDENCIES += libesmtp
|
|
endif
|
|
|
|
ifeq ($(BR2_USE_WCHAR),y)
|
|
LOG4CXX_CONF_OPTS += -DLOG4CXX_WCHAR_T=ON
|
|
else
|
|
LOG4CXX_CONF_OPTS += -DLOG4CXX_WCHAR_T=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|