From f847734dfd2e34cc969ef144d5236ae378aa777a Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Fri, 6 Dec 2013 00:15:18 +0100 Subject: [PATCH] log4cplus: new package Signed-off-by: Peter Seiderer Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/log4cplus/Config.in | 15 +++++++++++++++ package/log4cplus/log4cplus.mk | 14 ++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 package/log4cplus/Config.in create mode 100644 package/log4cplus/log4cplus.mk diff --git a/package/Config.in b/package/Config.in index c3c3aebc57..754e38f33f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -703,6 +703,7 @@ source "package/libtpl/Config.in" source "package/libunwind/Config.in" source "package/liburcu/Config.in" source "package/linux-pam/Config.in" +source "package/log4cplus/Config.in" source "package/log4cxx/Config.in" source "package/lttng-libust/Config.in" source "package/mpc/Config.in" diff --git a/package/log4cplus/Config.in b/package/log4cplus/Config.in new file mode 100644 index 0000000000..8a112a4e8f --- /dev/null +++ b/package/log4cplus/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_LOG4CPLUS + bool "log4cplus" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + help + log4cplus is a simple to use C++ logging API providing + thread-safe, flexible, and arbitrarily granular control + over log management and configuration. It is modelled + after the Java log4j API. + + http://sourceforge.net/projects/log4cplus + +comment "log4cplus needs a toolchain w/ C++, wchar, threads" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS) diff --git a/package/log4cplus/log4cplus.mk b/package/log4cplus/log4cplus.mk new file mode 100644 index 0000000000..292fa66d49 --- /dev/null +++ b/package/log4cplus/log4cplus.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# log4cplus +# +################################################################################ + +LOG4CPLUS_VERSION = 1.1.2 +LOG4CPLUS_SOURCE = log4cplus-$(LOG4CPLUS_VERSION).tar.xz +LOG4CPLUS_SITE = http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/$(LOG4CPLUS_VERSION) +LOG4CPLUS_LICENSE = Apache-2.0 +LOG4CPLUS_LICENSE_FILES = LICENSE +LOG4CPLUS_INSTALL_STAGING = YES + +$(eval $(autotools-package)) -- 2.30.2