aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2014-02-24 08:34:49 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-01 16:07:09 +0100
commit4b21b576af9a071a5bc91957dfda7c8072ac1aff (patch)
treebdb1254196e53b805529ffb67896ff30362b5ce6
parentd8ac059cb32d30f75ae3ad631b9d66303d7ec031 (diff)
downloadbuildroot-4b21b576af9a071a5bc91957dfda7c8072ac1aff.tar.gz
buildroot-4b21b576af9a071a5bc91957dfda7c8072ac1aff.tar.bz2
lualogging: new package
[Thomas: simplify version specification in the .mk file.] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/lualogging/Config.in9
-rw-r--r--package/lualogging/lualogging.mk12
3 files changed, 22 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index cc44228208..c4cdcc487c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -385,6 +385,7 @@ source "package/luaexpat/Config.in"
source "package/luaexpatutils/Config.in"
source "package/luafilesystem/Config.in"
source "package/luajson/Config.in"
+source "package/lualogging/Config.in"
source "package/luaposix/Config.in"
source "package/luasec/Config.in"
source "package/luasocket/Config.in"
diff --git a/package/lualogging/Config.in b/package/lualogging/Config.in
new file mode 100644
index 0000000000..37d701522f
--- /dev/null
+++ b/package/lualogging/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LUALOGGING
+ bool "lualogging"
+ help
+ LuaLogging provides a simple API to use logging features in Lua.
+ Its design was based on log4j. LuaLogging currently supports,
+ through the use of appenders, console, file, rolling file, email,
+ socket and SQL outputs.
+
+ http://www.keplerproject.org/lualogging/
diff --git a/package/lualogging/lualogging.mk b/package/lualogging/lualogging.mk
new file mode 100644
index 0000000000..d17353c6df
--- /dev/null
+++ b/package/lualogging/lualogging.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# lualogging
+#
+################################################################################
+
+LUALOGGING_VERSION = 1.3.0-1
+LUALOGGING_SUBDIR = lualogging
+LUALOGGING_LICENSE = MIT
+LUALOGGING_LICENSE_FILES = $(LUALOGGING_SUBDIR)/COPYRIGHT
+
+$(eval $(luarocks-package))