generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
9
package/lua-lyaml/Config.in
Normal file
9
package/lua-lyaml/Config.in
Normal 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
|
||||
3
package/lua-lyaml/lua-lyaml.hash
Normal file
3
package/lua-lyaml/lua-lyaml.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# locally computed
|
||||
sha256 9bb489cefae48b150d66f6bab4141d8d5831fcb7465bfc52a9845fa01efc63b0 lua-lyaml-6.2.7.tar.gz
|
||||
sha256 81e4ea1d897e259b31111adc2d3c185fe23e435942ff3e9de8c8c9c5d01247d0 LICENSE
|
||||
33
package/lua-lyaml/lua-lyaml.mk
Normal file
33
package/lua-lyaml/lua-lyaml.mk
Normal 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))
|
||||
Reference in New Issue
Block a user