erlang-lager: new package.
authorJohan Oudinet <johan.oudinet@gmail.com>
Mon, 12 Jan 2015 09:32:09 +0000 (10:32 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 3 Feb 2015 09:23:09 +0000 (10:23 +0100)
[Thomas: minor adjustement to Config.in help text]

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/erlang-lager/Config.in [new file with mode: 0644]
package/erlang-lager/erlang-lager.mk [new file with mode: 0644]

index df09860764bae7e5a8243522f4fb93f232f17842..691af64bafd39b88d90b51999adde73da82efc2f 100644 (file)
@@ -400,6 +400,7 @@ menu "Interpreter languages and scripting"
 if BR2_PACKAGE_ERLANG
 menu "Erlang libraries/modules"
        source "package/erlang-goldrush/Config.in"
+       source "package/erlang-lager/Config.in"
 endmenu
 endif
        source "package/guile/Config.in"
diff --git a/package/erlang-lager/Config.in b/package/erlang-lager/Config.in
new file mode 100644 (file)
index 0000000..d088821
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_ERLANG_LAGER
+       bool "erlang-lager"
+       select BR2_PACKAGE_ERLANG_GOLDRUSH
+       help
+         Lager (as in the beer) is a logging framework for
+         Erlang. Its purpose is to provide a more traditional way to
+         perform logging in an erlang application that plays nicely
+         with traditional UNIX logging tools like logrotate and
+         syslog.
+
+         https://github.com/basho/lager
diff --git a/package/erlang-lager/erlang-lager.mk b/package/erlang-lager/erlang-lager.mk
new file mode 100644 (file)
index 0000000..b725bfd
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# erlang-lager
+#
+################################################################################
+
+ERLANG_LAGER_VERSION = 2.0.3
+ERLANG_LAGER_SITE = $(call github,basho,lager,$(ERLANG_LAGER_VERSION))
+ERLANG_LAGER_LICENSE = Apache-2.0
+ERLANG_LAGER_LICENSE_FILES = LICENSE
+ERLANG_LAGER_DEPENDENCIES = erlang-goldrush
+
+$(eval $(rebar-package))
+$(eval $(host-rebar-package))