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

EAPI=4
inherit pam

DESCRIPTION="Google Authentiator PAM plugin"
HOMEPAGE="http://code.google.com/p/google-authenticator/"
SRC_URI="http://google-authenticator.googlecode.com/files/${P}-source.tar.bz2"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="sys-libs/pam"
RDEPEND="${DEPEND}"

src_install(){
	insinto $(getpam_mod_dir)
	doins pam_google_authenticator.so
	dobin google-authenticator

	dodoc README
}

pkg_postinst(){
	elog "For setup information check the installed README"
}