summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-16 16:48:54 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-16 16:48:54 +0200
commitc94924bd8579c4411e7897b188ea89e859403d5f (patch)
tree627c0de83167de87a53340c05871c89f397ac760
parent72b558cfa19fbd18ab3e45ee845724ddfadba3d1 (diff)
enable ssl module, add html files
-rw-r--r--package/nginx/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/nginx/Makefile b/package/nginx/Makefile
index 436d56102..ed4b7e72a 100644
--- a/package/nginx/Makefile
+++ b/package/nginx/Makefile
@@ -20,7 +20,8 @@ $(eval $(call PKG_template,NGINX,nginx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPEN
CONFIG_STYLE:= minimal
TARGET_CFLAGS+= -fPIC
-CONFIGURE_ARGS:= --prefix=/usr \
+CONFIGURE_ARGS:= --prefix=/srv/nginx \
+ --sbin-path=/usr/sbin \
--user=nginx \
--group=nginx \
--crossbuild=Linux::$(ARCH) \
@@ -34,7 +35,8 @@ CONFIGURE_ARGS:= --prefix=/usr \
--http-log-path=/var/log/nginx/access.log \
--http-client-body-temp-path=/var/lib/nginx/body \
--http-proxy-temp-path=/var/lib/nginx/proxy \
- --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
+ --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
+ --with-http_ssl_module
ALL_TARGET:=
XAKE_FLAGS+= GCC_HONOUR_COPTS=s
@@ -46,5 +48,7 @@ nginx-install:
cp $(WRKINST)/etc/nginx/$${f} \
$(IDIR_NGINX)/etc/nginx ; \
done
+ $(INSTALL_DIR) $(IDIR_NGINX)/srv/nginx/html
+ $(CP) $(WRKINST)/srv/nginx/html/* $(IDIR_NGINX)/srv/nginx/html
include ${TOPDIR}/mk/pkg-bottom.mk