diff options
| author | Mark Pulford <mark@kyne.com.au> | 2012-03-01 20:12:19 +1030 |
|---|---|---|
| committer | Mark Pulford <mark@kyne.com.au> | 2012-03-04 18:54:36 +1030 |
| commit | 5300ecb4e8f8ce9ec200b91c7273dae1947e431c (patch) | |
| tree | a14983ba2331dee93197a75636fe975e363eb920 /lua-cjson-2.1devel-1.rockspec | |
| parent | 6a8c434e38f3035d04bf17696353cf0bb93abec6 (diff) | |
| download | lua-cjson-5300ecb4e8f8ce9ec200b91c7273dae1947e431c.tar.gz lua-cjson-5300ecb4e8f8ce9ec200b91c7273dae1947e431c.tar.bz2 lua-cjson-5300ecb4e8f8ce9ec200b91c7273dae1947e431c.zip | |
Bump version to 2.1devel
Diffstat (limited to 'lua-cjson-2.1devel-1.rockspec')
| -rw-r--r-- | lua-cjson-2.1devel-1.rockspec | 56 |
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 @@ | |||
| 1 | package = "lua-cjson" | ||
| 2 | version = "2.1devel-1" | ||
| 3 | |||
| 4 | source = { | ||
| 5 | url = "http://www.kyne.com.au/~mark/software/download/lua-cjson-2.1devel.zip", | ||
| 6 | } | ||
| 7 | |||
| 8 | description = { | ||
| 9 | summary = "A fast JSON encoding/parsing module", | ||
| 10 | detailed = [[ | ||
| 11 | The Lua CJSON module 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 | (infinity, NaN,..) | ||
| 16 | - No dependencies on other libraries | ||
| 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: | ||
