diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /app-crypt/tpm2-totp/tpm2-totp-0.3.0-r1.ebuild | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'app-crypt/tpm2-totp/tpm2-totp-0.3.0-r1.ebuild')
-rw-r--r-- | app-crypt/tpm2-totp/tpm2-totp-0.3.0-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-crypt/tpm2-totp/tpm2-totp-0.3.0-r1.ebuild b/app-crypt/tpm2-totp/tpm2-totp-0.3.0-r1.ebuild new file mode 100644 index 000000000000..0908aaaa181d --- /dev/null +++ b/app-crypt/tpm2-totp/tpm2-totp-0.3.0-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Attest the trustworthiness of a device against a human using time-based OTP" +HOMEPAGE="https://github.com/tpm2-software/tpm2-totp" +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="plymouth test" + +REQUIRED_USE="test? ( plymouth )" + +RDEPEND="app-crypt/tpm2-tss:= + media-gfx/qrencode + plymouth? ( sys-boot/plymouth )" +DEPEND="${RDEPEND} + test? ( + app-crypt/swtpm + app-crypt/tpm2-tools + >=app-crypt/tpm2-tss-3.0.0:= + sys-apps/fakeroot + sys-auth/oath-toolkit + )" + +BDEPEND="virtual/pkgconfig" + +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/${P}-Remove-bogus-value-from-Makefile.am" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --disable-defaultflags \ + $(use_enable plymouth) \ + $(use_enable test integration) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |