[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_LUA_LYAML
bool "lua-lyaml"
select BR2_PACKAGE_LIBYAML
help
This is a Lua binding for the fast libYAML C library for
converting between `%YAML 1.1` and Lua tables, with a
flexible Lua language API to load and save YAML documents.
http://github.com/gvvaughan/lyaml

View File

@ -0,0 +1,3 @@
# locally computed
sha256 9bb489cefae48b150d66f6bab4141d8d5831fcb7465bfc52a9845fa01efc63b0 lua-lyaml-6.2.7.tar.gz
sha256 81e4ea1d897e259b31111adc2d3c185fe23e435942ff3e9de8c8c9c5d01247d0 LICENSE

View File

@ -0,0 +1,33 @@
################################################################################
#
# lua-lyaml
#
################################################################################
LUA_LYAML_VERSION = 6.2.7
LUA_LYAML_NAME_UPSTREAM = lyaml
LUA_LYAML_SITE = $(call github,gvvaughan,$(LUA_LYAML_NAME_UPSTREAM),v$(LUA_LYAML_VERSION))
LUA_LYAML_LICENSE = MIT
LUA_LYAML_LICENSE_FILES = LICENSE
LUA_LYAML_DEPENDENCIES = libyaml luainterpreter host-lua
define LUA_LYAML_BUILD_CMDS
(cd $(@D); \
$(LUA_RUN) build-aux/luke \
version="'$(LUA_LYAML_VERSION)'" \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
LUA_INCDIR=$(STAGING_DIR)/usr/include \
YAML_DIR=$(STAGING_DIR)/usr \
)
endef
define LUA_LYAML_INSTALL_TARGET_CMDS
(cd $(@D); \
$(LUA_RUN) build-aux/luke install \
INST_LIBDIR="$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \
INST_LUADIR="$(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)" \
)
endef
$(eval $(generic-package))