log4cplus: new package
authorPeter Seiderer <ps.report@gmx.net>
Thu, 5 Dec 2013 23:15:18 +0000 (00:15 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 5 Dec 2013 23:17:19 +0000 (00:17 +0100)
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>
package/Config.in
package/log4cplus/Config.in [new file with mode: 0644]
package/log4cplus/log4cplus.mk [new file with mode: 0644]

index c3c3aebc57f24337a4dcf99f229feea35060c663..754e38f33f28327417abaa241fee2bb5a336d8d9 100644 (file)
@@ -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 (file)
index 0000000..8a112a4
--- /dev/null
@@ -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 (file)
index 0000000..292fa66
--- /dev/null
@@ -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))