From c94924bd8579c4411e7897b188ea89e859403d5f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 16 Jul 2012 16:48:54 +0200 Subject: enable ssl module, add html files --- package/nginx/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'package/nginx') 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 -- cgit v1.2.3