# Copyright 1999-2004 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-4.11.ebuild,v 1.7 2004/06/25 00:59:36 agriffis Exp $ inherit eutils DESCRIPTION="An Apache2 authentication DSO using Kerberos" HOMEPAGE="http://modauthkerb.sourceforge.net/" S_PP=${PN}-5.0-rc5 S=${WORKDIR}/${S_PP} SRC_URI="mirror://sourceforge/modauthkerb/${S_PP}.tar.gz" DEPEND="virtual/krb5 =net-www/apache-2*" RDEPEND="" LICENSE="Apache-1.1" KEYWORDS="x86" IUSE="" SLOT="0" src_unpack() { unpack ${A} || die; cd ${S} || die; epatch ${FILESDIR}/configure-apxs-5.0_rc5.patch || die } src_compile() { CFLAGS="" econf || die "configure problem" NEWCFLAGS=" ${CFLAGS}" CFLAGS=${NEWCFLAGS// -/ -Wc,-} emake CFLAGS="${CFLAGS}" || die "compile problem" } src_install() { exeinto /usr/lib/apache2-extramodules doexe src/.libs/${PN}.so insinto /etc/apache2/conf/modules.d doins ${FILESDIR}/11_mod_auth_kerb.conf dodoc ${FILESDIR}/11_mod_auth_kerb.conf }