Initial Commit
- initial default booting image
This commit is contained in:
8
package/lua-compat53/Config.in
Normal file
8
package/lua-compat53/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_LUA_COMPAT53
|
||||
bool "lua-compat53"
|
||||
depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
|
||||
help
|
||||
Compatibility module providing Lua-5.3-style APIs for Lua 5.2
|
||||
and 5.1.
|
||||
|
||||
https://github.com/lunarmodules/lua-compat-5.3
|
||||
3
package/lua-compat53/lua-compat53.hash
Normal file
3
package/lua-compat53/lua-compat53.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# computed by luarocks/buildroot
|
||||
sha256 987e286e63e568c2a7d50b6a66ea9d4189254be49ebd6477ed8945e23e195c44 compat53-0.14.3-1.src.rock
|
||||
sha256 870cdff7e4db4c2e84a335b2b9e242b9f963830550026e2057a5885e945982e5 lua-compat-5.3-0.14.3/LICENSE
|
||||
22
package/lua-compat53/lua-compat53.mk
Normal file
22
package/lua-compat53/lua-compat53.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# lua-compat53
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUA_COMPAT53_VERSION_UPSTREAM = 0.14.3
|
||||
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
|
||||
LUA_COMPAT53_INSTALL_STAGING = YES
|
||||
|
||||
define LUA_COMPAT53_INSTALL_STAGING_CMDS
|
||||
$(INSTALL) -D -m 0644 $(@D)/$(LUA_COMPAT53_SUBDIR)/c-api/compat-5.3.c \
|
||||
$(STAGING_DIR)/usr/include/compat-5.3.c
|
||||
$(INSTALL) -D -m 0644 $(@D)/$(LUA_COMPAT53_SUBDIR)/c-api/compat-5.3.h \
|
||||
$(STAGING_DIR)/usr/include/compat-5.3.h
|
||||
endef
|
||||
|
||||
$(eval $(luarocks-package))
|
||||
Reference in New Issue
Block a user