diff options
Diffstat (limited to 'main/nginx')
-rw-r--r-- | main/nginx/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index 6c74ec36d5..8da28c793a 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -5,7 +5,7 @@ pkgname=nginx pkgver=1.10.3 -pkgrel=4 +pkgrel=5 pkgdesc="HTTP and reverse proxy server (stable version)" url="http://www.nginx.org/en" arch="all" @@ -52,8 +52,7 @@ _rtmp_dir="$srcdir/$_rtmp_name-$_rtmp_ver" _rtmp_provides="$pkgname-rtmp" # for backward compatibility depends="" -[ "$CARCH" == "s390x" ] && [ "$CARCH" == "ppc64le" ] && _lua_dep="lua5.1-dev" || _lua_dep="luajit-dev" -makedepends="linux-headers gd-dev geoip-dev libxml2-dev libxslt-dev $_lua_dep +makedepends="linux-headers gd-dev geoip-dev libxml2-dev libxslt-dev libressl-dev paxmark pcre-dev perl-dev pkgconf zlib-dev" pkgusers="nginx" _grp_ngx="nginx" @@ -79,6 +78,12 @@ source="http://nginx.org/download/$pkgname-$pkgver.tar.gz " builddir="$srcdir/$pkgname-$pkgver" +# luajit is not available for s390x and ppc64le +case "$CARCH" in + ppc64le | s390x) makedepends="$makedepends lua5.1-dev";; + *) makedepends="$makedepends luajit-dev";; +esac + _modules_dir="usr/lib/$pkgname/modules" _modules=" http-geoip |