summaryrefslogtreecommitdiff
blob: 072345d86195ea88913351c2f4be949b5d3f4d23 (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
31
32
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_pcgi2/mod_pcgi2-2.0.2.ebuild,v 1.1 2007/07/29 15:08:28 phreak Exp $

inherit apache-module

KEYWORDS="~ppc ~x86"

DESCRIPTION="An Apache module to talk to Zope Corporation's PCGI."
HOMEPAGE="http://www.zope.org/Members/phd/mod_pcgi2/"
SRC_URI="http://zope.org/Members/phd/${PN}/${PN}/${P}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""

DEPEND="www-apps/pcgi"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${PN/mod_}"

APXS1_ARGS="-Wc,-DMOD_PCGI2 -Wc,-DUNIX -I./ -o mod_pcgi2.so -c mod_pcgi2.c parseinfo.c pcgi-wrapper.c"
APXS2_ARGS="-n pcgi2 -DUNIX -DAPACHE2 -DMOD_PCGI2 -c mod_pcgi2.c pcgi-wrapper.c parseinfo.c "

APACHE1_MOD_CONF="20_mod_pcgi"
APACHE1_MOD_DEFINE="PCGI"

APACHE2_MOD_CONF="20_mod_pcgi"
APACHE2_MOD_DEFINE="PCGI"

DOCFILES="NEWS README ChangeLog"

need_apache