On Thu, Mar 14, 2013 at 9:10 AM, Ron Gomes <rg...@consumer.org> wrote:
> This lacks a "config" file which (I think) is needed in order to easily
> build it with the openresty bundle via "configure --add=module=..."
That's not how you add Lua modules.
Just drop it into your Lua path. For example on my boxes, I put
openresty in /usr/local/openresty/ and the lua modules are in
/usr/local/openresty/lualib/, so to install this do "mkdir -p
/usr/local/openresty/lualib/resty/http; cp lib/resty/http/simple.lua
/usr/local/openresty/lualib/resty/http" or something like "rsync -av
lib/* /usr/local/openresty/lualib/"
Done from memory, so probably has typos/mistakes. I have some shell
scripts that generate OS packages using fpm.
--Brian