2
1
Эх сурвалжийг харах

lua-resty-http: new package

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Semyon Kolganov 8 жил өмнө
parent
commit
e88995f065

+ 1 - 0
DEVELOPERS

@@ -1434,6 +1434,7 @@ F:	package/yaml-cpp/
 N:	Semyon Kolganov <semenak94@mail.ru>
 F:	package/fmt/
 F:	package/libbson/
+F:	package/lua-resty-http/
 F:	package/mpir/
 
 N:	Sergio Prado <sergio.prado@e-labworks.com>

+ 1 - 0
package/Config.in

@@ -571,6 +571,7 @@ menu "Lua libraries/modules"
 	source "package/luajson/Config.in"
 	source "package/lualogging/Config.in"
 	source "package/luaposix/Config.in"
+	source "package/lua-resty-http/Config.in"
 	source "package/luasec/Config.in"
 	source "package/luasocket/Config.in"
 	source "package/luasql-sqlite3/Config.in"

+ 6 - 0
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

+ 2 - 0
package/lua-resty-http/lua-resty-http.hash

@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	3d30dd5a273438e39741fcf87ae5e147d8700bd8faa7dfe9916ea425f9c716f7  lua-resty-http-0.10-0.src.rock

+ 12 - 0
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))