1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 EGIT_REPO_URI="https://github.com/mgorny/google-authenticator-libpam-hardened.git"
7 inherit autotools git-r3
9 DESCRIPTION="PAM Module for two step verification via mobile platform"
10 HOMEPAGE="https://github.com/mgorny/google-authenticator-libpam-hardened"
16 DEPEND="sys-auth/oath-toolkit:=
18 qrcode? ( media-gfx/qrencode:= )"
20 !sys-auth/google-authenticator"
29 # TODO: use getpam_mod_dir after fixing build system
30 --libdir="/$(get_libdir)"
32 $(use_enable qrcode qrencode)
40 find "${D}" -name '*.la' -delete || die