summaryrefslogtreecommitdiff
blob: 2c8498d4090525f2c8847dcb208e92d54e63ccd6 (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
33
34
35
36
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Grant Goodyear <grant@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-crypt/krb5/krb5-1.2.2.ebuild,v 1.1 2001/06/21 15:26:25 g2boojum Exp $

#P=
A=${P}.tar.gz
S=${WORKDIR}/${P}
SRC_URI="http://www.crypto-publish.org/dist/mit-kerberos5/${A1}"
DESCRIPTION="MIT Kerberos V (set up for pam)"
HOMEPAGE="http://crypto-publish.org"

DEPEND="virtual/glibc"


src_compile() {

    cd ${S}/src
    try ./configure --with-krb4 --enable-shared --prefix=/usr --host=${CHOST}
    mv Makefile Makefile.orig
    #Don't install the ftp, telnet, r* apps; use pam instead
    sed -e 's/ appl //' Makefile.orig > Makefile
    try make

}

src_install () {

    cd ${S}/src
    try make DESTDIR=${D} install
    cd ..
    dodoc README
    echo 'NOTE: ftp, telnet, r* apps not installed.  Install pam-krb5!'

}