lua-curl: new package
authorFrancois Perrad <fperrad@gmail.com>
Sun, 24 Sep 2017 07:59:25 +0000 (09:59 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 24 Sep 2017 15:20:25 +0000 (17:20 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/Config.in
package/lua-curl/Config.in [new file with mode: 0644]
package/lua-curl/lua-curl.hash [new file with mode: 0644]
package/lua-curl/lua-curl.mk [new file with mode: 0644]

index 56eac65b767524ad67feebffb27da08a7ab7e50f..8a757809b09d667d6eb1225f7a619936964f4ab6 100644 (file)
@@ -578,6 +578,7 @@ menu "Lua libraries/modules"
        source "package/lua-coat/Config.in"
        source "package/lua-coatpersistent/Config.in"
        source "package/lua-csnappy/Config.in"
+       source "package/lua-curl/Config.in"
        source "package/lua-ev/Config.in"
        source "package/lua-flu/Config.in"
        source "package/lua-iconv/Config.in"
diff --git a/package/lua-curl/Config.in b/package/lua-curl/Config.in
new file mode 100644 (file)
index 0000000..88cdaf1
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LUA_CURL
+       bool "lua-curl"
+       select BR2_PACKAGE_LIBCURL
+       help
+         Lua binding to libcurl.
+
+         https://lua-curl.github.io/
diff --git a/package/lua-curl/lua-curl.hash b/package/lua-curl/lua-curl.hash
new file mode 100644 (file)
index 0000000..e73810c
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 4cc6389bf5d4a868cc1e6017733b9b6306f2fc8b5083aa928d66399195697f34  lua-curl-0.3.7-1.src.rock
diff --git a/package/lua-curl/lua-curl.mk b/package/lua-curl/lua-curl.mk
new file mode 100644 (file)
index 0000000..9e4f262
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# lua-curl
+#
+################################################################################
+
+LUA_CURL_VERSION_UPSTREAM = 0.3.7
+LUA_CURL_VERSION = $(LUA_CURL_VERSION_UPSTREAM)-1
+LUA_CURL_SUBDIR = Lua-cURLv3-$(LUA_CURL_VERSION_UPSTREAM)
+LUA_CURL_LICENSE = MIT
+LUA_CURL_LICENSE_FILES = $(LUA_CURL_SUBDIR)/LICENSE
+LUA_CURL_DEPENDENCIES = libcurl
+
+$(eval $(luarocks-package))