main/nginx: remove --host --build as its not autotools

This commit is contained in:
Natanael Copa 2013-08-16 07:20:50 +00:00
parent dcb0bd1dd2
commit 27568dfd30
2 changed files with 6 additions and 3 deletions

View File

@ -27,8 +27,6 @@ prepare() {
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--conf-path=/etc/$pkgname/$pkgname.conf \
--pid-path=/var/run/$pkgname.pid \
@ -47,7 +45,7 @@ build() {
--with-http_spdy_module \
--with-mail \
--with-mail_ssl_module \
|| return 1
|| return 1
make || return 1
}

View File

@ -0,0 +1,5 @@
#!/bin/sh
addgroup nginx 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -G nginx nginx 2>/dev/null
exit 0