Files
buildroot/package/lua/Config.in
Yann E. MORIN 50dfaef6ec package/luainterpreter: rename the _HAS and _PROVIDES variables
The basic rule for a package is to have its options named
after the package name. There is no reason this should not
also be the case for virtual packages.

Besides, this will allow us to switch luainterpreter to use the
soon-to-be-introduced virtual-package infrastructure.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Mike Zick <minimod@morethan.org>
Cc: Francois Perrad <fperrad@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-05 19:20:55 +02:00

57 lines
1.1 KiB
Plaintext

config BR2_PACKAGE_LUA
bool "lua"
select BR2_PACKAGE_HAS_LUAINTERPRETER
help
Lua is a powerful, fast, light-weight, embeddable scripting language.
http://www.lua.org/
if BR2_PACKAGE_LUA
config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
default "lua"
choice
prompt "Lua Version"
default BR2_PACKAGE_LUA_5_1
help
Select the version of Lua API/ABI you wish to use.
config BR2_PACKAGE_LUA_5_1
bool "Lua 5.1.x"
config BR2_PACKAGE_LUA_5_2
bool "Lua 5.2.x"
endchoice
config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
default "5.1" if BR2_PACKAGE_LUA_5_1
default "5.2" if BR2_PACKAGE_LUA_5_2
choice
prompt "Lua Interpreter command-line editing"
default BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
config BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
bool "none"
help
None.
config BR2_PACKAGE_LUA_INTERPRETER_READLINE
bool "readline support"
select BR2_PACKAGE_READLINE
select BR2_PACKAGE_NCURSES
help
Enables command-line editing in the Lua interpreter.
config BR2_PACKAGE_LUA_INTERPRETER_LINENOISE
bool "linenoise support"
select BR2_PACKAGE_LINENOISE
help
Enables command-line editing in the Lua interpreter.
endchoice
endif