blob: 39263f12ab47e4c9ccc0546063b5d3b5bb8b7808 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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.2 2006/07/10 19:09:43 exg Exp $
inherit eutils rpm
RH_EXTRAVERSION=2
DESCRIPTION="pam_krb5 module, taken from fedora"
HOMEPAGE="http://fedora.redhat.com"
SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RH_EXTRAVERSION}.src.rpm"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="-*"
DEPEND="virtual/krb5
>=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
}
|