# Copyright 1999-2005 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.3 2005/07/14 22:11:40 agriffis 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="app-crypt/mit-krb5" RDEPEND="" APACHE1_MOD_CONF="4.11-r1/11_${PN}" APACHE1_MOD_DEFINE="AUTH_KERB" APACHE2_MOD_CONF="4.11-r1/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" }