diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-17 01:16:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-17 01:16:38 +0000 |
commit | 53cba99042fa967e2a93da9f8db806fe2d035543 (patch) | |
tree | 9780d3b87dfc6bdebc6b7b7d15af1ecb813c6853 /dev-libs/libfido2/libfido2-1.3.0.ebuild | |
parent | 71deace00d1a2b091313fe137ab7092418c6f87c (diff) |
gentoo resync : 17.02.2020
Diffstat (limited to 'dev-libs/libfido2/libfido2-1.3.0.ebuild')
-rw-r--r-- | dev-libs/libfido2/libfido2-1.3.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/libfido2/libfido2-1.3.0.ebuild b/dev-libs/libfido2/libfido2-1.3.0.ebuild new file mode 100644 index 000000000000..80fc8d24e085 --- /dev/null +++ b/dev-libs/libfido2/libfido2-1.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Provides library functionality for FIDO 2.0" +HOMEPAGE="https://github.com/Yubico/libfido2" +SRC_URI="https://github.com/Yubico/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/1" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="libressl +static-libs" + +DEPEND=" + dev-libs/libcbor:= + virtual/libudev:= + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/libfido2-1.3.0-cmakelists.patch" + + # from upstream git, no longer needed with openssh-8.2 + "${FILESDIR}/libfido2-1.3.0-remove-openssh-middleware.patch" +) + +src_install() { + cmake-utils_src_install + + if ! use static-libs; then + rm -f "${D}/$(get_libdir)"/*.a || die + fi +} |