From: Johan Oudinet Date: Mon, 12 Jan 2015 09:32:09 +0000 (+0100) Subject: erlang-lager: new package. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a32f6bf2b3b7e3a426538226e4d19098328a7df;p=buildroot.git erlang-lager: new package. [Thomas: minor adjustement to Config.in help text] Signed-off-by: Johan Oudinet Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index df09860764..691af64baf 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..d088821a55 --- /dev/null +++ b/package/erlang-lager/Config.in @@ -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 index 0000000000..b725bfd7bb --- /dev/null +++ b/package/erlang-lager/erlang-lager.mk @@ -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))