summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2013-12-05 23:15:18 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-05 23:17:19 (GMT)
commitf847734dfd2e34cc969ef144d5236ae378aa777a (patch)
treea185bdf875a66bc4d5f1adcee0faa0a86161c4ea
parent24b7f4c81a8876d72bdc86ebb714b4c44d6ea8a8 (diff)
downloadbuildroot-f847734dfd2e34cc969ef144d5236ae378aa777a.tar.gz
buildroot-f847734dfd2e34cc969ef144d5236ae378aa777a.tar.bz2
log4cplus: new package
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/log4cplus/Config.in15
-rw-r--r--package/log4cplus/log4cplus.mk14
3 files changed, 30 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index c3c3aeb..754e38f 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 0000000..8a112a4
--- /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 0000000..292fa66
--- /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))