summaryrefslogtreecommitdiff
path: root/package/lua-resty-http
diff options
context:
space:
mode:
authorSemyon Kolganov <semenak94@mail.ru>2017-04-25 21:10:58 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-04 22:23:19 +0200
commite88995f065986dc56ce5a7c222f7a9f6cbff2b94 (patch)
tree36870878cf44606b08097b4ae7e8852887fad433 /package/lua-resty-http
parent33ad356ce5dacabe0d3dac89832ce264633793d3 (diff)
lua-resty-http: new package
Signed-off-by: Semyon Kolganov <semenak94@mail.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lua-resty-http')
-rw-r--r--package/lua-resty-http/Config.in6
-rw-r--r--package/lua-resty-http/lua-resty-http.hash2
-rw-r--r--package/lua-resty-http/lua-resty-http.mk12
3 files changed, 20 insertions, 0 deletions
diff --git a/package/lua-resty-http/Config.in b/package/lua-resty-http/Config.in
new file mode 100644
index 0000000000..4697c90dfb
--- /dev/null
+++ b/package/lua-resty-http/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LUA_RESTY_HTTP
+ bool "lua-resty-http"
+ help
+ Lua HTTP client cosocket driver for OpenResty / ngx_lua.
+
+ http://github.com/pintsized/lua-resty-http
diff --git a/package/lua-resty-http/lua-resty-http.hash b/package/lua-resty-http/lua-resty-http.hash
new file mode 100644
index 0000000000..02c56593f1
--- /dev/null
+++ b/package/lua-resty-http/lua-resty-http.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 3d30dd5a273438e39741fcf87ae5e147d8700bd8faa7dfe9916ea425f9c716f7 lua-resty-http-0.10-0.src.rock
diff --git a/package/lua-resty-http/lua-resty-http.mk b/package/lua-resty-http/lua-resty-http.mk
new file mode 100644
index 0000000000..927fdae46f
--- /dev/null
+++ b/package/lua-resty-http/lua-resty-http.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# lua-resty-http
+#
+################################################################################
+
+LUA_RESTY_HTTP_VERSION = 0.10-0
+LUA_RESTY_HTTP_SUBDIR = lua-resty-http
+LUA_RESTY_HTTP_LICENSE = BSD-2-Clause
+LUA_RESTY_HTTP_LICENSE_FILES = LICENSE
+
+$(eval $(luarocks-package))