|
Lines 1-17
Link Here
|
| 1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2007 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.6.16.ebuild,v 1.1 2007/10/30 09:17:03 voxus Exp $ |
3 |
# $Header: $ |
| 4 |
|
4 |
|
| 5 |
inherit eutils ssl-cert |
5 |
inherit eutils ssl-cert |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="Robust, small and high performance http and reverse proxy server" |
7 |
DESCRIPTION="Robust, small and high performance http and reverse proxy server" |
| 8 |
|
8 |
|
| 9 |
HOMEPAGE="http://sysoev.ru/nginx/" |
9 |
HOMEPAGE="http://nginx.net/" |
| 10 |
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz" |
10 |
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz" |
| 11 |
LICENSE="BSD" |
11 |
LICENSE="BSD" |
| 12 |
SLOT="0" |
12 |
SLOT="0" |
| 13 |
KEYWORDS="~amd64 ~ppc ~x86" |
13 |
KEYWORDS="~amd64 ~ppc ~x86" |
| 14 |
IUSE="debug fastcgi flv imap pcre perl ssl status sub webdav zlib" |
14 |
IUSE="addition debug fastcgi flv imap pcre perl ssl status sub webdav zlib" |
| 15 |
|
15 |
|
| 16 |
DEPEND="dev-lang/perl |
16 |
DEPEND="dev-lang/perl |
| 17 |
pcre? ( >=dev-libs/libpcre-4.2 ) |
17 |
pcre? ( >=dev-libs/libpcre-4.2 ) |
|
Lines 39-44
Link Here
|
| 39 |
# myconf="${myconf} --with-threads" |
39 |
# myconf="${myconf} --with-threads" |
| 40 |
# fi |
40 |
# fi |
| 41 |
|
41 |
|
|
|
42 |
use addition && myconf="${myconf} --with-http_addition_module" |
| 42 |
use fastcgi || myconf="${myconf} --without-http_fastcgi_module" |
43 |
use fastcgi || myconf="${myconf} --without-http_fastcgi_module" |
| 43 |
use fastcgi && myconf="${myconf} --with-http_realip_module" |
44 |
use fastcgi && myconf="${myconf} --with-http_realip_module" |
| 44 |
use flv && myconf="${myconf} --with-http_flv_module" |
45 |
use flv && myconf="${myconf} --with-http_flv_module" |
|
Lines 64-69
Link Here
|
| 64 |
--http-proxy-temp-path=/var/tmp/${PN}/proxy \ |
65 |
--http-proxy-temp-path=/var/tmp/${PN}/proxy \ |
| 65 |
--http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \ |
66 |
--http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \ |
| 66 |
--with-md5-asm --with-md5=/usr/include \ |
67 |
--with-md5-asm --with-md5=/usr/include \ |
|
|
68 |
--with-sha1-asm --with-sha1=/usr/include \ |
| 67 |
${myconf} || die "configure failed" |
69 |
${myconf} || die "configure failed" |
| 68 |
|
70 |
|
| 69 |
emake || die "failed to compile" |
71 |
emake || die "failed to compile" |