From 1b189ce2f7b0f6bc5eb881e0392c04405d5eca18 Mon Sep 17 00:00:00 2001 From: Johan Oudinet Date: Tue, 6 Jun 2017 16:33:10 +0200 Subject: [PATCH] erlang-p1-oauth2: New package OAuth2 library for Erlang https://github.com/processone/p1_oauth2 Signed-off-by: Johan Oudinet Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/erlang-p1-oauth2/Config.in | 6 ++++++ package/erlang-p1-oauth2/erlang-p1-oauth2.hash | 2 ++ package/erlang-p1-oauth2/erlang-p1-oauth2.mk | 13 +++++++++++++ 5 files changed, 23 insertions(+) create mode 100644 package/erlang-p1-oauth2/Config.in create mode 100644 package/erlang-p1-oauth2/erlang-p1-oauth2.hash create mode 100644 package/erlang-p1-oauth2/erlang-p1-oauth2.mk diff --git a/DEVELOPERS b/DEVELOPERS index cdd38e6655..77a3b6239b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -869,6 +869,7 @@ F: package/erlang-jiffy/ F: package/erlang-lager/ F: package/erlang-p1-cache-tab/ F: package/erlang-p1-iconv/ +F: package/erlang-p1-oauth2/ F: package/erlang-p1-sip/ F: package/erlang-p1-stringprep/ F: package/erlang-p1-stun/ diff --git a/package/Config.in b/package/Config.in index 497cac8b74..ce8ed370de 100644 --- a/package/Config.in +++ b/package/Config.in @@ -515,6 +515,7 @@ menu "Erlang libraries/modules" source "package/erlang-lager/Config.in" source "package/erlang-p1-cache-tab/Config.in" source "package/erlang-p1-iconv/Config.in" + source "package/erlang-p1-oauth2/Config.in" source "package/erlang-p1-sip/Config.in" source "package/erlang-p1-stringprep/Config.in" source "package/erlang-p1-stun/Config.in" diff --git a/package/erlang-p1-oauth2/Config.in b/package/erlang-p1-oauth2/Config.in new file mode 100644 index 0000000000..32e79ec99a --- /dev/null +++ b/package/erlang-p1-oauth2/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_ERLANG_P1_OAUTH2 + bool "erlang-p1-oauth2" + help + OAuth2 library for Erlang + + https://github.com/processone/p1_oauth2 diff --git a/package/erlang-p1-oauth2/erlang-p1-oauth2.hash b/package/erlang-p1-oauth2/erlang-p1-oauth2.hash new file mode 100644 index 0000000000..3666519f5f --- /dev/null +++ b/package/erlang-p1-oauth2/erlang-p1-oauth2.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 86e4d93f0206135bc6017b6001d061305513917f79c53294e534d6e66fd54727 erlang-p1-oauth2-0.6.1.tar.gz diff --git a/package/erlang-p1-oauth2/erlang-p1-oauth2.mk b/package/erlang-p1-oauth2/erlang-p1-oauth2.mk new file mode 100644 index 0000000000..c85706c8db --- /dev/null +++ b/package/erlang-p1-oauth2/erlang-p1-oauth2.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# erlang-p1-oauth2 +# +################################################################################ + +ERLANG_P1_OAUTH2_VERSION = 0.6.1 +ERLANG_P1_OAUTH2_SITE = $(call github,processone,p1_oauth2,$(ERLANG_P1_OAUTH2_VERSION)) +ERLANG_P1_OAUTH2_LICENSE = MIT +ERLANG_P1_OAUTH2_LICENSE_FILES = LICENSE +ERLANG_P1_OAUTH2_INSTALL_STAGING = YES + +$(eval $(rebar-package)) -- 2.30.2