Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpx/lua-cjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2012-03-01 13:42:19 +0400
committerMark Pulford <mark@kyne.com.au>2012-03-04 12:24:36 +0400
commit5300ecb4e8f8ce9ec200b91c7273dae1947e431c (patch)
treea14983ba2331dee93197a75636fe975e363eb920 /lua-cjson-2.1devel-1.rockspec
parent6a8c434e38f3035d04bf17696353cf0bb93abec6 (diff)
Bump version to 2.1devel
Diffstat (limited to 'lua-cjson-2.1devel-1.rockspec')
-rw-r--r--lua-cjson-2.1devel-1.rockspec56
1 files changed, 56 insertions, 0 deletions
diff --git a/lua-cjson-2.1devel-1.rockspec b/lua-cjson-2.1devel-1.rockspec
new file mode 100644
index 0000000..154e333
--- /dev/null
+++ b/lua-cjson-2.1devel-1.rockspec
@@ -0,0 +1,56 @@
+package = "lua-cjson"
+version = "2.1devel-1"
+
+source = {
+ url = "http://www.kyne.com.au/~mark/software/download/lua-cjson-2.1devel.zip",
+}
+
+description = {
+ summary = "A fast JSON encoding/parsing module",
+ detailed = [[
+ 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
+ ]],
+ homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php",
+ license = "MIT"
+}
+
+dependencies = {
+ "lua >= 5.1"
+}
+
+build = {
+ type = "builtin",
+ modules = {
+ cjson = {
+ sources = { "lua_cjson.c", "strbuf.c", "fpconv.c" },
+ defines = {
+-- LuaRocks does not support platform specific configuration for Solaris.
+-- Uncomment the line below on Solaris platforms if required.
+-- "USE_INTERNAL_ISINF"
+ }
+ }
+ },
+ install = {
+ lua = {
+ ["cjson.util"] = "lua/cjson/util.lua"
+ },
+ bin = {
+ json2lua = "lua/json2lua.lua",
+ lua2json = "lua/lua2json.lua"
+ }
+ },
+ -- Override default build options (per platform)
+ platforms = {
+ win32 = { modules = { cjson = { defines = {
+ "DISABLE_INVALID_NUMBERS"
+ } } } }
+ },
+ copy_directories = { "tests" }
+}
+
+-- vi:ai et sw=4 ts=4: