diff options
| author | Mark Pulford <mark@kyne.com.au> | 2011-11-27 18:53:22 +1030 |
|---|---|---|
| committer | Mark Pulford <mark@kyne.com.au> | 2011-11-27 18:53:22 +1030 |
| commit | d6b3f9ceb6c73121d9fa52bf66b7cfa59b611680 (patch) | |
| tree | 977c1343194983a89baf28b07797988b14ba87c8 /lua-cjson-1.0.4-1.rockspec | |
| parent | bb3931122551240a08dbfaa1a84d55906e3d3cb6 (diff) | |
| download | lua-cjson-d6b3f9ceb6c73121d9fa52bf66b7cfa59b611680.tar.gz lua-cjson-d6b3f9ceb6c73121d9fa52bf66b7cfa59b611680.tar.bz2 lua-cjson-d6b3f9ceb6c73121d9fa52bf66b7cfa59b611680.zip | |
Update version to 1.0.4
Diffstat (limited to 'lua-cjson-1.0.4-1.rockspec')
| -rw-r--r-- | lua-cjson-1.0.4-1.rockspec | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lua-cjson-1.0.4-1.rockspec b/lua-cjson-1.0.4-1.rockspec new file mode 100644 index 0000000..b08032b --- /dev/null +++ b/lua-cjson-1.0.4-1.rockspec | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | package = "lua-cjson" | ||
| 2 | version = "1.0.4-1" | ||
| 3 | |||
| 4 | source = { | ||
| 5 | url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.4.zip", | ||
| 6 | } | ||
| 7 | |||
| 8 | description = { | ||
| 9 | summary = "Fast JSON encoding/parsing support for Lua", | ||
| 10 | detailed = [[ | ||
| 11 | Lua CJSON provides fast UTF-8 JSON parsing/encoding support for Lua, | ||
| 12 | and has no external dependencies. | ||
| 13 | ]], | ||
| 14 | homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php", | ||
| 15 | license = "MIT" | ||
| 16 | } | ||
| 17 | |||
| 18 | dependencies = { | ||
| 19 | "lua >= 5.1" | ||
| 20 | } | ||
| 21 | |||
| 22 | build = { | ||
| 23 | type = "builtin", | ||
| 24 | modules = { | ||
| 25 | cjson = { | ||
| 26 | sources = { "lua_cjson.c", "strbuf.c" }, | ||
| 27 | -- Optional workarounds: | ||
| 28 | -- USE_POSIX_USELOCALE: Linux, OSX. Thread safe. Recommended. | ||
| 29 | -- USE_POSIX_SETLOCALE: Works on all ANSI C platforms. May be used when | ||
| 30 | -- thread-safety isn't required. | ||
| 31 | -- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required | ||
| 32 | -- on some Solaris platforms. | ||
| 33 | defines = { "VERSION=\"1.0.4\"", "USE_POSIX_SETLOCALE" } | ||
| 34 | } | ||
| 35 | }, | ||
| 36 | copy_directories = { "tests" } | ||
| 37 | } | ||
