|
@@ -5,12 +5,12 @@ RETCODE=$(fw_exists openresty.installed)
|
|
|
|
|
|
fw_depends nginx lua
|
|
|
|
|
|
-fw_get http://openresty.org/download/ngx_openresty-1.5.12.1.tar.gz
|
|
|
-fw_untar ngx_openresty-1.5.12.1.tar.gz
|
|
|
+fw_get http://openresty.org/download/ngx_openresty-1.7.4.1.tar.gz
|
|
|
+fw_untar ngx_openresty-1.7.4.1.tar.gz
|
|
|
|
|
|
-cd ngx_openresty-1.5.12.1
|
|
|
-./configure --with-luajit-xcflags=-DLUAJIT_NUMMODE=2 --with-cc-opt=-O2 --with-http_postgres_module -j4
|
|
|
+cd ngx_openresty-1.7.4.1
|
|
|
+./configure --with-luajit-xcflags=-DLUAJIT_NUMMODE=2 --with-http_postgres_module -j4
|
|
|
make -j4
|
|
|
sudo make install
|
|
|
|
|
|
-touch $IROOT/openresty.installed
|
|
|
+touch $IROOT/openresty.installed
|