reorganize/rationalize/format package menuconfig,
[openwrt.git] / openwrt / package / lua / Config.in
index 22989ac..d62e993 100644 (file)
@@ -1,15 +1,14 @@
-menu "lua - LUA programming language"
+menu "lua............................... LUA programming language"
 
-config BR2_PACKAGE_LUA
+config BR2_COMPILE_LUA
        bool
-       default n
+       default y
        depends BR2_PACKAGE_LUA_INTERPRETER || BR2_PACKAGE_LUA_COMPILER || BR2_PACKAGE_LIBLUA
 
-config BR2_PACKAGE_LUA_INTERPRETER
-       tristate "lua - LUA programming language interpreter"
-       default m if CONFIG_DEVEL
-       select BR2_PACKAGE_LUA
-       select BR2_PACKAGE_LIBLUA
+config BR2_PACKAGE_LIBLUA
+       prompt "liblua............................ LUA programming language shared libraries"
+       tristate
+       select BR2_COMPILE_LUA
        help
          Lua is a powerful light-weight programming language designed for extending 
          applications. Lua is also frequently used as a general-purpose, stand-alone 
@@ -29,13 +28,13 @@ config BR2_PACKAGE_LUA_INTERPRETER
          
          http://www.lua.org/
          
-         This package contains the LUA language interpreter.
-         
+         This package contains the LUA shared libraries, needed by other programs.
 
-config BR2_PACKAGE_LUA_COMPILER
-       tristate "luac - LUA programming language compiler"
+config BR2_PACKAGE_LUA_INTERPRETER
+       prompt "lua............................... LUA programming language interpreter"
+       tristate
        default m if CONFIG_DEVEL
-       select BR2_PACKAGE_LUA
+       select BR2_COMPILE_LUA
        select BR2_PACKAGE_LIBLUA
        help
          Lua is a powerful light-weight programming language designed for extending 
@@ -56,14 +55,14 @@ config BR2_PACKAGE_LUA_COMPILER
          
          http://www.lua.org/
          
-         This package contains the LUA language compiler.
-         
+         This package contains the LUA language interpreter.
 
-config BR2_PACKAGE_LUA_EXAMPLES
-       tristate "lua-examples - LUA programming language examples"
+config BR2_PACKAGE_LUA_COMPILER
+       prompt "luac.............................. LUA programming language compiler"
+       tristate
        default m if CONFIG_DEVEL
-       select BR2_PACKAGE_LUA
-       select BR2_PACKAGE_LUA_INTERPRETER
+       select BR2_COMPILE_LUA
+       select BR2_PACKAGE_LIBLUA
        help
          Lua is a powerful light-weight programming language designed for extending 
          applications. Lua is also frequently used as a general-purpose, stand-alone 
@@ -83,13 +82,14 @@ config BR2_PACKAGE_LUA_EXAMPLES
          
          http://www.lua.org/
          
-         This package contains LUA language examples.
-         
+         This package contains the LUA language compiler.
 
-config BR2_PACKAGE_LIBLUA
-       tristate "liblua - LUA programming language shared libraries"
+config BR2_PACKAGE_LUA_EXAMPLES
+       prompt "lua-examples...................... LUA programming language examples"
+       tristate
        default m if CONFIG_DEVEL
-       select BR2_PACKAGE_LUA
+       select BR2_COMPILE_LUA
+       select BR2_PACKAGE_LUA_INTERPRETER
        help
          Lua is a powerful light-weight programming language designed for extending 
          applications. Lua is also frequently used as a general-purpose, stand-alone 
@@ -109,7 +109,6 @@ config BR2_PACKAGE_LIBLUA
          
          http://www.lua.org/
          
-         This package contains the LUA shared libraries, needed by other programs.
-         
+         This package contains LUA language examples.
 
 endmenu