# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_kerb/mod_auth_kerb-5.0_rc6.ebuild,v 1.5 2006/06/05 19:24:00 chtekk Exp $ MY_PV="${PV/_rc/-rc}" inherit eutils apache-module DESCRIPTION="An Apache2 authentication DSO using Kerberos." HOMEPAGE="http://modauthkerb.sourceforge.net/" SRC_URI="mirror://sourceforge/modauthkerb/${PN}-${MY_PV}.tar.gz" LICENSE="as-is" KEYWORDS="x86" IUSE="apache2" SLOT="0" DEPEND="virtual/krb5" RDEPEND="" APACHE1_MOD_CONF="11_${PN}" APACHE1_MOD_DEFINE="AUTH_KERB" APACHE2_MOD_CONF="11_${PN}" APACHE2_MOD_DEFINE="AUTH_KERB" DOCFILES="INSTALL README" need_apache S="${WORKDIR}/${PN}-${MY_PV}" src_compile() { if use apache2 ; then CFLAGS="" APXS="${APXS2}" econf --with-krb5=/usr --without-krb4 || die "econf failed" else CFLAGS="" APXS="${APXS}" econf --with-krb5=/usr --without-krb4 || die "econf failed" fi emake || die "make failed" }