summaryrefslogtreecommitdiff
blob: fe49221169deb115fb8adc349c5265d8032b50d8 (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
37
38
39
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit bzr autotools

EBZR_REPO_URI="http://bazaar.launchpad.net/~ltsp-upstream/ltsp/libpam-sshauth"
DESCRIPTION="A pam module that will allow you to authenticate via a remote ssh machine, as well as establish an SSH tunnel."
HOMEPAGE="http://www.ltsp.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="examples"
DEPEND=">=sys-libs/pam-0.99.7.1
	>=net-libs/libssh-0.3.91"
RDEPEND="${DEPEND}"

src_unpack() {
	bzr_src_unpack
}

src_prepare() {
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install || die "einstall failed"

	dodoc AUTHORS
	dodoc NEWS
	dodoc README

	if use examples; then
		docinto examples
		dodoc examples/ltsp-session
	fi
}