# Copyright 1999-2022 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit pam autotools COMMIT="5d672355f3d27dc1f7e4729be5f098cd2bc9d448" DESCRIPTION="Poldi is a PAM module implementing authentication via OpenPGP smartcards." HOMEPAGE="http://www.gnupg.org/" SRC_URI="https://github.com/gpg/poldi/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" DEPEND=" sys-libs/pam dev-libs/libksba dev-libs/libgcrypt dev-libs/libgpg-error " RDEPEND=${DEPEND} src_prepare() { default echo "${PV}" >> doc/version.texi || die eautoreconf } src_configure() { econf --with-pam-module-directory="$(getpam_mod_dir)" }