1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools flag-o-matic pam
8 DESCRIPTION="Library for authenticating against PAM with a Yubikey"
9 HOMEPAGE="https://github.com/Yubico/pam-u2f"
10 SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
19 app-crypt/libu2f-server:=
25 PATCHES=( "${FILESDIR}/${PN}-1.0.2-fix-Makefile.patch" )
29 use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG
34 econf --with-pam-dir=$(getpam_mod_dir)