aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README30
1 files changed, 26 insertions, 4 deletions
diff --git a/README b/README
index 0d912a8..f118f32 100644
--- a/README
+++ b/README
@@ -15,7 +15,8 @@ Features:
15Caveats: 15Caveats:
16- UTF-16 and UTF-32 are not supported. 16- UTF-16 and UTF-32 are not supported.
17- Multiple OS threads within a single Lua state are not currently 17- Multiple OS threads within a single Lua state are not currently
18 supported. 18 supported. However, this is an extremely uncommon configuration due
19 to performance limitations.
19 20
20To obtain the latest version of Lua CJSON visit: 21To obtain the latest version of Lua CJSON visit:
21 22
@@ -34,17 +35,38 @@ Build requirements:
34Or: 35Or:
35- LuaJIT (http://www.luajit.org/) 36- LuaJIT (http://www.luajit.org/)
36 37
38There are 3 build methods available:
39- Gmake: POSIX, OSX
40- RPM: Some Linux distributions
41- LuaRocks (http://www.luarocks.org/): POSIX, OSX, Windows
42
43
44Gmake
45-----
46
37Review and update the included Makefile to suit your platform. Then: 47Review and update the included Makefile to suit your platform. Then:
38 48
39 # make 49 # gmake
40 # make install 50 # gmake install
41 OR 51 OR
42 # cp cjson.so [your_module_directory] 52 # cp cjson.so [your_module_directory]
43 53
54
55RPM
56---
57
44Linux distributions using RPM should be able to build a package with 58Linux distributions using RPM should be able to build a package with
45the following command: 59the following command:
46 60
47 # rpmbuild -tb lua-cjson-1.0.2.zip 61 # rpmbuild -tb lua-cjson-1.0.2.tar.gz
62
63
64LuaRocks
65--------
66
67Extract the source package into a directory and run:
68
69 # cd lua-cjson-1.0.2; luarocks make
48 70
49 71
50Lua CJSON API 72Lua CJSON API