# Template file for 'nginx' pkgname=nginx version=1.4.0 revision=1 makedepends="pcre-devel>=8.30 openssl-devel" short_desc="A high performance web and reverse proxy server" maintainer="Juan RP " license="Simplified BSD" homepage="http://nginx.org" distfiles="http://nginx.org/download/nginx-$version.tar.gz" checksum=84aeb7a131fccff036dc80283dd98c989d2844eb84359cfe7c4863475de923a9 do_configure() { local cfgdir=/etc/nginx local tmpdir=/var/tmp/nginx ./configure --prefix=${cfgdir} \ --conf-path=${cfgdir}/nginx.conf \ --sbin-path=/usr/sbin/nginx \ --pid-path=/run/nginx.pid \ --lock-path=/var/lock/nginx.lock \ --user=nginx --group=nginx \ --http-log-path=/var/log/nginx/access.log \ --error-log-path=/var/log/nginx/error.log \ --http-client-body-temp-path=${tmpdir}/client-body \ --http-proxy-temp-path=${tmpdir}/proxy \ --http-fastcgi-temp-path=${tmpdir}/fastcgi \ --http-scgi-temp-path=${tmpdir}/scgi \ --http-uwsgi-temp-path=${tmpdir}/uwsgi \ --with-imap --with-imap_ssl_module \ --with-ipv6 --with-pcre-jit \ --with-file-aio \ --with-http_dav_module \ --with-http_gzip_static_module \ --with-http_realip_module \ --with-http_ssl_module \ --with-http_stub_status_module } do_build() { make ${makejobs} } do_install() { make DESTDIR=$DESTDIR install sed -e 's|\