summaryrefslogtreecommitdiff
blob: d5996fdca329594c5a7f6c2c3892f4543ef98550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"
inherit apache-module eutils

MY_P="${PN}-SNAP-${PV/2.4.7_pre/}"
DESCRIPTION="FastCGI is a open extension to CGI without the limitations of server specific APIs"
HOMEPAGE="http://fastcgi.com/"
SRC_URI="http://www.fastcgi.com/dist/${MY_P}.tar.gz"

KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="mod_fastcgi"
IUSE=""

APXS2_ARGS="-c mod_fastcgi.c fcgi*.c"
APACHE2_MOD_CONF="20_${PN}"
APACHE2_MOD_DEFINE="FASTCGI"

DOCFILES="CHANGES README docs/LICENSE.TERMS docs/mod_fastcgi.html"

S="${WORKDIR}/${MY_P}"

need_apache2

src_prepare() {
	epatch "${FILESDIR}/${PN}-compile-against-apache2.4.patch"
}