From: Francois Perrad Date: Sun, 24 Sep 2017 07:59:25 +0000 (+0200) Subject: lua-curl: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8975698b92d7ecc6924a95853ef8602374a57618;p=buildroot.git lua-curl: new package Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/Config.in b/package/Config.in index 56eac65b76..8a757809b0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..88cdaf10c2 --- /dev/null +++ b/package/lua-curl/Config.in @@ -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 index 0000000000..e73810ceda --- /dev/null +++ b/package/lua-curl/lua-curl.hash @@ -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 index 0000000000..9e4f262cfb --- /dev/null +++ b/package/lua-curl/lua-curl.mk @@ -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))