# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV application" HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ https://github.com/Yubico/yubico-piv-tool" SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz" LICENSE="BSD-2" SLOT="0/2" KEYWORDS="~amd64 ~riscv" IUSE="test" RESTRICT="!test? ( test )" RDEPEND="sys-apps/pcsc-lite ${PN}.module \ || die "Failed to generate p11-kit module configuration" insinto /usr/share/p11-kit/modules doins ${PN}.module }