| 1 | LuaSec 0.4 |
| 2 | ------------ |
| 3 | |
| 4 | * On Linux, BSD, and Mac OS X: |
| 5 | |
| 6 | - Edit 'Makefile' |
| 7 | * Inform the path to where install the Lua modules (LUAPATH) and binaries |
| 8 | modules (LUACPATH) |
| 9 | * If Lua or OpenSSL are not in the default path, set the |
| 10 | variables INCDIR and LIBDIR. |
| 11 | * For Mac OS X, set the variable MACOSX_VERSION. |
| 12 | |
| 13 | - Use 'make <platform>' to compile |
| 14 | * Platforms: linux, bsd, or macosx |
| 15 | |
| 16 | - Use 'make install' to install the modules. |
| 17 | |
| 18 | * On Windows: |
| 19 | |
| 20 | - Use the Visual C++ project to compile the library. |
| 21 | |
| 22 | - Copy the 'ssl.lua' file to some place in your LUA_PATH. |
| 23 | |
| 24 | - Copy the 'ssl.dll' file to some place in your LUA_CPATH. |
| 25 | |
| 26 | - Create a directory 'ssl' in your LUA_PATH and copy 'https.lua' to it. |