liblogging: new package
authorClayton Shotwell <clshotwe@rockwellcollins.com>
Wed, 12 Mar 2014 17:51:08 +0000 (12:51 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 15 Mar 2014 22:21:43 +0000 (23:21 +0100)
Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/liblogging/Config.in [new file with mode: 0644]
package/liblogging/liblogging.mk [new file with mode: 0644]

index f73a558cf516855cc2331b533834aba7ac2c3eab..f9c1b0b1678730c86b8b566f3f9c9b74c5d9716c 100644 (file)
@@ -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 (file)
index 0000000..23c3c1a
--- /dev/null
@@ -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 (file)
index 0000000..fa181fb
--- /dev/null
@@ -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))