lua-modules: fix dependencies with version of lua
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
7b3dc5c370
commit
eb8441b861
|
@ -1,11 +1,12 @@
|
||||||
config BR2_PACKAGE_LBASE64
|
config BR2_PACKAGE_LBASE64
|
||||||
bool "lbase64"
|
bool "lbase64"
|
||||||
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
||||||
depends on !BR2_PACKAGE_LUA_5_2
|
depends on BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT
|
||||||
help
|
help
|
||||||
A base64 library for Lua
|
A base64 library for Lua
|
||||||
|
|
||||||
http://luaforge.net/projects/lbase64/
|
http://luaforge.net/projects/lbase64/
|
||||||
|
|
||||||
comment "lbase64 needs a Lua 5.1 interpreter"
|
comment "lbase64 needs a Lua 5.1 interpreter"
|
||||||
depends on BR2_PACKAGE_LUA_5_2
|
depends on !BR2_PACKAGE_LUA_5_1
|
||||||
|
depends on !BR2_PACKAGE_LUAJIT
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LUA_5_2),y)
|
ifeq ($(BR2_PACKAGE_LUA_5_2)$(BR2_PACKAGE_LUA_5_3),y)
|
||||||
LRANDOM_VERSION = 20120430.52-1
|
LRANDOM_VERSION = 20120430.52-1
|
||||||
else
|
else
|
||||||
LRANDOM_VERSION = 20120430.51-1
|
LRANDOM_VERSION = 20120430.51-1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
config BR2_PACKAGE_LUA_MSGPACK_NATIVE
|
config BR2_PACKAGE_LUA_MSGPACK_NATIVE
|
||||||
bool "lua-msgpack-native"
|
bool "lua-msgpack-native"
|
||||||
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
||||||
depends on !BR2_PACKAGE_LUA_5_2
|
depends on BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT
|
||||||
help
|
help
|
||||||
This is a native, C language implementation of msgpack
|
This is a native, C language implementation of msgpack
|
||||||
(http://msgpack.org) library/protocol for Lua language
|
(http://msgpack.org) library/protocol for Lua language
|
||||||
|
@ -9,4 +9,5 @@ config BR2_PACKAGE_LUA_MSGPACK_NATIVE
|
||||||
https://github.com/kengonakajima/lua-msgpack-native
|
https://github.com/kengonakajima/lua-msgpack-native
|
||||||
|
|
||||||
comment "lua-msgpack-native needs a Lua 5.1 interpreter"
|
comment "lua-msgpack-native needs a Lua 5.1 interpreter"
|
||||||
depends on BR2_PACKAGE_LUA_5_2
|
depends on !BR2_PACKAGE_LUA_5_1
|
||||||
|
depends on !BR2_PACKAGE_LUAJIT
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
config BR2_PACKAGE_LUAPOSIX
|
config BR2_PACKAGE_LUAPOSIX
|
||||||
bool "luaposix"
|
bool "luaposix"
|
||||||
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
||||||
|
depends on !BR2_PACKAGE_LUA_5_3
|
||||||
select BR2_PACKAGE_NCURSES
|
select BR2_PACKAGE_NCURSES
|
||||||
select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA_5_1
|
select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA_5_1
|
||||||
# LuaBitOp is already included in LuaJIT
|
# LuaBitOp is already included in LuaJIT
|
||||||
|
@ -13,3 +14,6 @@ config BR2_PACKAGE_LUAPOSIX
|
||||||
APIs
|
APIs
|
||||||
|
|
||||||
https://github.com/luaposix/luaposix
|
https://github.com/luaposix/luaposix
|
||||||
|
|
||||||
|
comment "luaposix needs a Lua 5.1/5.2 interpreter"
|
||||||
|
depends on BR2_PACKAGE_LUA_5_3
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
config BR2_PACKAGE_LUNIT
|
config BR2_PACKAGE_LUNIT
|
||||||
bool "lunit"
|
bool "lunit"
|
||||||
depends on !BR2_PACKAGE_LUA_5_2
|
depends on BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT
|
||||||
help
|
help
|
||||||
A unit testing framework for Lua.
|
A unit testing framework for Lua.
|
||||||
|
|
||||||
http://www.mroth.net/lunit/
|
http://www.mroth.net/lunit/
|
||||||
|
|
||||||
comment "lunit needs a Lua 5.1 interpreter"
|
comment "lunit needs a Lua 5.1 interpreter"
|
||||||
depends on BR2_PACKAGE_LUA_5_2
|
depends on !BR2_PACKAGE_LUA_5_1
|
||||||
|
depends on !BR2_PACKAGE_LUAJIT
|
||||||
|
|
Loading…
Reference in a new issue