summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-01-03 19:37:08 +0100
committerDavid Seifert <soap@gentoo.org>2018-01-03 19:37:08 +0100
commit2cb45c4ded78477a5d359ce9a68e470fd0eecfe7 (patch)
tree0dca59b117942c514051b764d32969ecc304571b /sys-auth
parentsys-auth/libnss-cache: Port to EAPI 6 (diff)
downloadgentoo-2cb45c4ded78477a5d359ce9a68e470fd0eecfe7.tar.gz
gentoo-2cb45c4ded78477a5d359ce9a68e470fd0eecfe7.tar.bz2
gentoo-2cb45c4ded78477a5d359ce9a68e470fd0eecfe7.zip
sys-auth/pam_fprint: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_fprint/pam_fprint-0.2-r1.ebuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/sys-auth/pam_fprint/pam_fprint-0.2-r1.ebuild b/sys-auth/pam_fprint/pam_fprint-0.2-r1.ebuild
index 656e7e1b3841..8179d8611ad5 100644
--- a/sys-auth/pam_fprint/pam_fprint-0.2-r1.ebuild
+++ b/sys-auth/pam_fprint/pam_fprint-0.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=3
+EAPI=6
-inherit eutils pam
+inherit pam
DESCRIPTION="a simple PAM module which uses libfprint's functionality for authentication"
HOMEPAGE="http://www.reactivated.net/fprint/wiki/Pam_fprint"
@@ -14,17 +14,16 @@ SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
IUSE=""
-RDEPEND="sys-auth/libfprint
+RDEPEND="
+ sys-auth/libfprint
sys-libs/pam"
DEPEND="${RDEPEND}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-headers.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-headers.patch )
src_install() {
- dopammod src/${PN}.so || die
- newbin src/pamtest pamtest.fprint || die
- dobin src/pam_fprint_enroll || die
- dodoc AUTHORS ChangeLog NEWS README || die
+ dopammod src/${PN}.so
+ newbin src/pamtest pamtest.fprint
+ dobin src/pam_fprint_enroll
+ einstalldocs
}