From 8975698b92d7ecc6924a95853ef8602374a57618 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 24 Sep 2017 09:59:25 +0200 Subject: [PATCH] lua-curl: new package Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/Config.in | 1 + package/lua-curl/Config.in | 7 +++++++ package/lua-curl/lua-curl.hash | 2 ++ package/lua-curl/lua-curl.mk | 14 ++++++++++++++ 4 files changed, 24 insertions(+) create mode 100644 package/lua-curl/Config.in create mode 100644 package/lua-curl/lua-curl.hash create mode 100644 package/lua-curl/lua-curl.mk 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)) -- 2.30.2