# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_krb5/pam_krb5-2.2.6.ebuild,v 1.1 2006/02/15 21:09:58 rphillips Exp $ inherit eutils rpm RH_EXTRAVERSION=2 DESCRIPTION="pam_krb5 module, taken from fedora" HOMEPAGE="http://fedora.redhat.com" SRC_URI="mirror://fedora/development/SRPMS/${P}-${RH_EXTRAVERSION}.src.rpm" LICENSE="LGPL-2" SLOT="0" KEYWORDS="-*" DEPEND=">=app-crypt/mit-krb5-1.4.1 >=sys-libs/pam-0.78-r2" S=${WORKDIR}/${P}-${RH_EXTRAVERSION} src_compile() { export CFLAGS="${CFLAGS} -fPIC" econf --libdir=/lib || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO }