been deprecated since 2012.11. 'busybox' provides a telnet
client and should be used instead.
+config BR2_PACKAGE_LUACJSON
+ bool "luacjson has been replaced by lua-cjson"
+ select BR2_PACKAGE_LUA_CJSON
+ select BR2_LEGACY
+ help
+ The option has been renamed BR2_PACKAGE_LUA_CJSON.
+
###############################################################################
comment "Legacy options removed in 2013.11"
source "package/copas/Config.in"
source "package/coxpcall/Config.in"
source "package/lbase64/Config.in"
+source "package/lua-cjson/Config.in"
source "package/lua-ev/Config.in"
source "package/lua-msgpack-native/Config.in"
source "package/luabitop/Config.in"
-source "package/luacjson/Config.in"
source "package/luacrypto/Config.in"
source "package/luaexpat/Config.in"
source "package/luaexpatutils/Config.in"
--- /dev/null
+config BR2_PACKAGE_LUA_CJSON
+ bool "lua-cjson"
+ depends on BR2_PACKAGE_HAS_LUA_INTERPRETER
+ help
+ The Lua CJSON module provides JSON support for Lua. It features:
+ - Fast, standards compliant encoding/parsing routines
+ - Full support for JSON with UTF-8, including decoding surrogate pairs
+ - Optional run-time support for common exceptions to the JSON
+ specification (infinity, NaN, ...)
+ - No dependencies on other libraries
+
+ (C-module)
+
+ http://www.kyne.com.au/~mark/software/lua-cjson.php
--- /dev/null
+################################################################################
+#
+# lua-cjson
+#
+################################################################################
+
+LUA_CJSON_VERSION = 2.1.0
+LUA_CJSON_SITE = http://www.kyne.com.au/~mark/software/download
+LUA_CJSON_DEPENDENCIES = luainterpreter
+LUA_CJSON_LICENSE = MIT
+LUA_CJSON_LICENSE_FILES = LICENSE
+
+define LUA_CJSON_BUILD_CMDS
+ $(MAKE) -C $(@D) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
+ CC="$(TARGET_CC)" \
+ LD="$(TARGET_LD)" \
+ PREFIX=$(STAGING_DIR)/usr
+endef
+
+define LUA_CJSON_INSTALL_TARGET_CMDS
+ $(MAKE) DESTDIR="$(TARGET_DIR)" PREFIX="/usr" -C $(@D) install
+endef
+
+$(eval $(generic-package))
+++ /dev/null
-config BR2_PACKAGE_LUACJSON
- bool "luacjson"
- depends on BR2_PACKAGE_HAS_LUA_INTERPRETER
- help
- The Lua CJSON module provides JSON support for Lua. It features:
- - Fast, standards compliant encoding/parsing routines
- - Full support for JSON with UTF-8, including decoding surrogate pairs
- - Optional run-time support for common exceptions to the JSON
- specification (infinity, NaN, ...)
- - No dependencies on other libraries
-
- (C-module)
-
- http://www.kyne.com.au/~mark/software/lua-cjson.php
+++ /dev/null
-################################################################################
-#
-# luacjson
-#
-################################################################################
-
-LUACJSON_VERSION = 2.1.0
-LUACJSON_SOURCE = lua-cjson-$(LUACJSON_VERSION).tar.gz
-LUACJSON_SITE = http://www.kyne.com.au/~mark/software/download
-LUACJSON_DEPENDENCIES = luainterpreter
-LUACJSON_LICENSE = MIT
-LUACJSON_LICENSE_FILES = LICENSE
-
-define LUACJSON_BUILD_CMDS
- $(MAKE) -C $(@D) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
- CC="$(TARGET_CC)" \
- LD="$(TARGET_LD)" \
- PREFIX=$(STAGING_DIR)/usr
-endef
-
-define LUACJSON_INSTALL_TARGET_CMDS
- $(MAKE) DESTDIR="$(TARGET_DIR)" PREFIX="/usr" -C $(@D) install
-endef
-
-$(eval $(generic-package))