summaryrefslogtreecommitdiff
blob: 8b4f0890a9a9821b9f6ff322eb92a6d3c825057e (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit pam

DESCRIPTION="a simple PAM module which uses libfprint's functionality for authentication"
HOMEPAGE="http://www.reactivated.net/fprint/wiki/Pam_fprint"
SRC_URI="mirror://sourceforge/fprint/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 sparc x86"
IUSE=""

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

PATCHES=( "${FILESDIR}"/${P}-headers.patch )

src_install() {
	dopammod src/${PN}.so
	newbin src/pamtest pamtest.fprint
	dobin src/pam_fprint_enroll
	einstalldocs
}