2013-12-06 00:15:18 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# log4cplus
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-12-24 10:25:14 +01:00
|
|
|
LOG4CPLUS_VERSION = 2.0.5
|
2013-12-06 00:15:18 +01:00
|
|
|
LOG4CPLUS_SOURCE = log4cplus-$(LOG4CPLUS_VERSION).tar.xz
|
|
|
|
LOG4CPLUS_SITE = http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/$(LOG4CPLUS_VERSION)
|
2018-05-06 11:35:07 +02:00
|
|
|
LOG4CPLUS_LICENSE = Apache-2.0, BSD-2-Clause, BSD-like (threadpool)
|
2013-12-06 00:15:18 +01:00
|
|
|
LOG4CPLUS_LICENSE_FILES = LICENSE
|
|
|
|
LOG4CPLUS_INSTALL_STAGING = YES
|
2020-01-01 18:54:57 +01:00
|
|
|
# We're patching configure.ac
|
|
|
|
LOG4CPLUS_AUTORECONF = YES
|
2013-12-06 00:15:18 +01:00
|
|
|
|
2019-04-11 00:00:17 +02:00
|
|
|
ifeq ($(BR2_GCC_ENABLE_LTO),y)
|
|
|
|
LOG4CPLUS_CONF_OPTS += --enable-lto
|
|
|
|
else
|
|
|
|
LOG4CPLUS_CONF_OPTS += --disable-lto
|
|
|
|
endif
|
|
|
|
|
2019-03-03 11:12:52 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_QT5BASE),y)
|
|
|
|
LOG4CPLUS_DEPENDENCIES += host-pkgconf qt5base
|
|
|
|
LOG4CPLUS_CONF_OPTS += --with-qt5
|
|
|
|
else
|
|
|
|
LOG4CPLUS_CONF_OPTS += --without-qt5
|
|
|
|
endif
|
|
|
|
|
2013-12-06 00:15:18 +01:00
|
|
|
$(eval $(autotools-package))
|