lua-compat53: new package
commit: https://git.buildroot.net/buildroot/commit/?id=b38bd3ab8cd7cae0a182525911446aa352866d38
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by Francois Perrad <[email protected]>
Signed-off-by Thomas Petazzoni <[email protected]>
--- package/Config.in | 1 + package/lua-compat53/Config.in | 8 ++++++++ package/lua-compat53/lua-compat53.hash | 2 ++ package/lua-compat53/lua-compat53.mk | 14 ++++++++++++++ 4 files changed, 25 insertions(+)
package/Config.in +1 -0
@@ -579,6 +579,7 @@ menu "Lua libraries/modules" source "package/lua-cjson/Config.in" source "package/lua-coat/Config.in" source "package/lua-coatpersistent/Config.in" + source "package/lua-compat53/Config.in" source "package/lua-cqueues/Config.in" source "package/lua-csnappy/Config.in" source "package/lua-curl/Config.in"
package/lua-compat53/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_LUA_COMPAT53 + bool "lua-compat53" + depends on !BR2_PACKAGE_LUA_5_3 + help + Compatibility module providing Lua-5.3-style APIs for Lua 5.2 + and 5.1 + + https://github.com/keplerproject/lua-compat-5.3
package/lua-compat53/lua-compat53.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 fd0117156f59d1cb3824d5cca63be84c72cb5519b714377545433be3bb31afdf compat53-0.5-1.src.rock
package/lua-compat53/lua-compat53.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# lua-compat53 +# +################################################################################ + +LUA_COMPAT53_VERSION_UPSTREAM = 0.5 +LUA_COMPAT53_VERSION = $(LUA_COMPAT53_VERSION_UPSTREAM)-1 +LUA_COMPAT53_NAME_UPSTREAM = compat53 +LUA_COMPAT53_SUBDIR = lua-compat-5.3-$(LUA_COMPAT53_VERSION_UPSTREAM) +LUA_COMPAT53_LICENSE = MIT +LUA_COMPAT53_LICENSE_FILES = $(LUA_COMPAT53_SUBDIR)/LICENSE + +$(eval $(luarocks-package))