# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-www/mod_scgi/mod_scgi-1.2.ebuild,v 1.1 2005/01/09 00:20:51 hollow Exp $ inherit eutils apache-module DESCRIPTION="Apache module for a Replacement for the CGI protocol that is similar to FastCGI" URI_BASE="http://www.mems-exchange.org/software" HOMEPAGE="${URI_BASE}/scgi/" SRC_URI="${URI_BASE}/files/scgi/${P/mod_}.tar.gz" LICENSE="CNRI" KEYWORDS="~x86 ~ppc" DEPEND="www-apps/scgi" SLOT="0" S=${WORKDIR}/${P/mod_} APXS1_S="${S}/apache1" APXS1_ARGS="-c mod_scgi.c" APACHE1_MOD_FILE="${S}/apache1/${PN}.so" APACHE1_MOD_CONF="${PVR}/20_mod_scgi" APACHE1_MOD_DEFINE="SCGI" APXS2_S="${S}/apache2" APXS2_ARGS="-c mod_scgi.c" APACHE2_MOD_FILE="${S}/apache2/.libs/${PN}.so" APACHE2_MOD_CONF="${PVR}/20_mod_scgi" APACHE2_MOD_DEFINE="SCGI" need_apache DOCFILES="PKG-INFO LICENSE.txt CHANGES" if useq apache2; then DOCFILES="${DOCFILES} apache2/README" else DOCFILES="${DOCFILES} apache1/README" fi