summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClayton Shotwell <clshotwe@rockwellcollins.com>2014-03-12 12:51:08 -0500
committerPeter Korsgaard <peter@korsgaard.com>2014-03-15 23:21:43 +0100
commit3bb6a3667b1b3a04a5e91073071d5cf60a01d63f (patch)
treefd40efbe765d234622ce4c8f7f8e793fa7451792
parentbf25237ff3569596a674d2bc3f6c6028fb978478 (diff)
liblogging: new package
Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/liblogging/Config.in8
-rw-r--r--package/liblogging/liblogging.mk20
3 files changed, 29 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index f73a558cf..f9c1b0b16 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -773,6 +773,7 @@ source "package/libffi/Config.in"
source "package/libglib2/Config.in"
source "package/libical/Config.in"
source "package/liblog4c-localtime/Config.in"
+source "package/liblogging/Config.in"
source "package/libnspr/Config.in"
source "package/libpfm4/Config.in"
source "package/libplist/Config.in"
diff --git a/package/liblogging/Config.in b/package/liblogging/Config.in
new file mode 100644
index 000000000..23c3c1ad2
--- /dev/null
+++ b/package/liblogging/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBLOGGING
+ bool "liblogging"
+ help
+ Liblogging is an easy to use library for
+ logging. It offers an enhanced replacement
+ for the syslog() call, but retains its ease of use.
+
+ http://www.liblogging.org/
diff --git a/package/liblogging/liblogging.mk b/package/liblogging/liblogging.mk
new file mode 100644
index 000000000..fa181fb78
--- /dev/null
+++ b/package/liblogging/liblogging.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# liblogging
+#
+################################################################################
+
+LIBLOGGING_VERSION = 1.0.2
+LIBLOGGING_SITE = http://download.rsyslog.com/liblogging
+LIBLOGGING_LICENSE = BSD-2c
+LIBLOGGING_LICENSE_FILES = COPYING
+LIBLOGGING_INSTALL_STAGING = YES
+LIBLOGGING_CONF_OPT = --enable-cached-man-pages
+
+ifeq ($(BR2_INIT_SYSTEMD),y)
+LIBLOGGING_CONF_OPT += --enable-journal
+else
+LIBLOGGING_CONF_OPT += --disable-journal
+endif
+
+$(eval $(autotools-package))