diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-16 16:48:54 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-16 16:48:54 +0200 |
commit | c94924bd8579c4411e7897b188ea89e859403d5f (patch) | |
tree | 627c0de83167de87a53340c05871c89f397ac760 /package | |
parent | 72b558cfa19fbd18ab3e45ee845724ddfadba3d1 (diff) |
enable ssl module, add html files
Diffstat (limited to 'package')
-rw-r--r-- | package/nginx/Makefile | 8 |
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 |