remove duplicate code
[openwrt.git] / openwrt / package / lua / Config.in
index 22989ac..fc25826 100644 (file)
@@ -1,15 +1,14 @@
-menu "lua - LUA programming language"
+menu "lua............................... LUA programming language"
 
-config BR2_PACKAGE_LUA
-       bool
+config BR2_COMPILE_LUA
+       tristate
        default n
-       depends BR2_PACKAGE_LUA_INTERPRETER || BR2_PACKAGE_LUA_COMPILER || BR2_PACKAGE_LIBLUA
+       depends 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,12 @@ 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
+       prompt "lua............................... LUA programming language interpreter"
+       tristate
        default m if CONFIG_DEVEL
-       select BR2_PACKAGE_LUA
        select BR2_PACKAGE_LIBLUA
        help
          Lua is a powerful light-weight programming language designed for extending 
@@ -56,14 +54,13 @@ 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_LUAC
+       prompt "luac.............................. LUA programming language compiler"
+       tristate
        default m if CONFIG_DEVEL
-       select BR2_PACKAGE_LUA
-       select BR2_PACKAGE_LUA_INTERPRETER
+       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,11 +80,11 @@ 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
        help
@@ -109,7 +106,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
This page took 0.023218 seconds and 4 git commands to generate.