mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* Referring the current haiku version explicitly is not needed, since the RequiresUpdater takes care of setting the version of Haiku used for building a package.
74 lines
1.6 KiB
Plaintext
74 lines
1.6 KiB
Plaintext
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
|
|
SUMMARY="Robust, small and high performance http and reverse proxy server"
|
|
HOMEPAGE="http://nginx.org/"
|
|
SRC_URI="hg+http://hg.nginx.org/nginx#f87afb46ccd2"
|
|
#CHECKSUM_SHA256=""
|
|
REVISION="1"
|
|
# "it's complicated", cf. http://packages.gentoo.org/package/www-servers/nginx
|
|
#TODO: sort this out
|
|
LICENSE="BSD (2-clause)"
|
|
COPYRIGHT="
|
|
2002-2014 Igor Sysoev
|
|
2011-2014 Nginx, Inc.
|
|
"
|
|
|
|
#FIXME: on ./auto/configure:
|
|
#grep: /etc/group: No such file or directory
|
|
|
|
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
nginx$secondaryArchSuffix = $portVersion
|
|
cmd:nginx$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libpcre$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libpcre$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc${secondaryArchSuffix}
|
|
cmd:ld${secondaryArchSuffix}
|
|
cmd:make
|
|
cmd:ranlib
|
|
cmd:sed
|
|
cmd:find
|
|
"
|
|
|
|
PATCHES="nginx-1.7.4_hg.diff"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/nginx directory
|
|
"
|
|
|
|
|
|
BUILD()
|
|
{
|
|
./auto/configure --prefix=$prefix \
|
|
--sbin-path=$binDir/nginx \
|
|
--doc-prefix=$docDir \
|
|
--conf-path=$settingsDir/nginx/nginx.conf \
|
|
--error-log-path=$localStateDir/log/error.log \
|
|
--http-log-path=$localStateDir/log/access.log \
|
|
--pid-path=$localStateDir/nginx.pid \
|
|
--lock-path=$localStateDir/nginx.lock \
|
|
--with-debug
|
|
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir
|
|
mkdir -p $docDir
|
|
make install
|
|
}
|