summaryrefslogtreecommitdiff
blob: ecc672d2368c75a2580384ce98fc3d137d1ebf3f (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam_ssh_agent/pam_ssh_agent-0.1.ebuild,v 1.4 2004/06/24 23:08:45 agriffis Exp $

inherit gcc

DESCRIPTION="PAM module that spawns a ssh-agent and adds identities using the password supplied at login"
HOMEPAGE="http://pam-ssh-agent.sourceforge.net/"
SRC_URI="mirror://sourceforge/pam-ssh-agent/${P}.tar.gz"

LICENSE="LGPL-2.1"
KEYWORDS="~x86"
SLOT="0"
IUSE=""

DEPEND="sys-libs/pam
	>=sys-apps/sed-4"
RDEPEND="net-misc/keychain
	dev-tcltk/expect"

src_unpack() {
	unpack ${A}
	cd ${S}
	sed -i "s:gcc:$(gcc-getCC) ${CFLAGS}:" Makefile
}

src_compile() {
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc LICENSE README
}