diff options
author | Mark Pulford <mark@kyne.com.au> | 2012-01-20 00:36:35 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2012-03-04 18:54:35 +1030 |
commit | aaed0e6a8f1bdacb13f7d89f4eaea76c322edb65 (patch) | |
tree | d23527fb3ec997694aa142e45e60907cabb8a0c6 /lua-cjson-2.0devel-1.rockspec | |
parent | 31bf122c1d1d9e3812b9ef2555d537f509ae3f05 (diff) | |
download | lua-cjson-aaed0e6a8f1bdacb13f7d89f4eaea76c322edb65.tar.gz lua-cjson-aaed0e6a8f1bdacb13f7d89f4eaea76c322edb65.tar.bz2 lua-cjson-aaed0e6a8f1bdacb13f7d89f4eaea76c322edb65.zip |
Bump version to 2.0devel
Bump version to 2.0devel due to significant changes and updated API
(runtime config not fully backwards compatible).
Diffstat (limited to 'lua-cjson-2.0devel-1.rockspec')
-rw-r--r-- | lua-cjson-2.0devel-1.rockspec | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/lua-cjson-2.0devel-1.rockspec b/lua-cjson-2.0devel-1.rockspec new file mode 100644 index 0000000..9a2ac04 --- /dev/null +++ b/lua-cjson-2.0devel-1.rockspec | |||
@@ -0,0 +1,56 @@ | |||
1 | package = "lua-cjson" | ||
2 | version = "2.0devel-1" | ||
3 | |||
4 | source = { | ||
5 | url = "http://www.kyne.com.au/~mark/software/download/lua-cjson-2.0devel.zip", | ||
6 | } | ||
7 | |||
8 | description = { | ||
9 | summary = "A fast JSON encoding/parsing library", | ||
10 | detailed = [[ | ||
11 | The Lua CJSON library provides JSON support for Lua. It features: | ||
12 | - Fast, standards compliant encoding/parsing routines | ||
13 | - Full support for JSON with UTF-8, including decoding surrogate pairs | ||
14 | - Optional run-time support for common exceptions to the JSON specification | ||
15 | (NaN, Infinity,..) | ||
16 | - No external dependencies | ||
17 | ]], | ||
18 | homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php", | ||
19 | license = "MIT" | ||
20 | } | ||
21 | |||
22 | dependencies = { | ||
23 | "lua >= 5.1" | ||
24 | } | ||
25 | |||
26 | build = { | ||
27 | type = "builtin", | ||
28 | modules = { | ||
29 | cjson = { | ||
30 | sources = { "lua_cjson.c", "strbuf.c", "fpconv.c" }, | ||
31 | defines = { | ||
32 | -- LuaRocks does not support platform specific configuration for Solaris. | ||
33 | -- Uncomment the line below on Solaris platforms if required. | ||
34 | -- "USE_INTERNAL_ISINF" | ||
35 | } | ||
36 | } | ||
37 | }, | ||
38 | install = { | ||
39 | lua = { | ||
40 | ["cjson.util"] = "lua/cjson/util.lua" | ||
41 | }, | ||
42 | bin = { | ||
43 | json2lua = "lua/json2lua.lua", | ||
44 | lua2json = "lua/lua2json.lua" | ||
45 | } | ||
46 | }, | ||
47 | -- Override default build options (per platform) | ||
48 | platforms = { | ||
49 | win32 = { modules = { cjson = { defines = { | ||
50 | "DISABLE_INVALID_NUMBERS" | ||
51 | } } } } | ||
52 | }, | ||
53 | copy_directories = { "tests" } | ||
54 | } | ||
55 | |||
56 | -- vi:ai et sw=4 ts=4: | ||