commit:     28b8b5944c4ffaaca1b2ac51d78fb83e80460002
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 14:17:11 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 14:17:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b8b594

sys-auth/libyubikey: Port to EAPI 7

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-auth/libyubikey/libyubikey-1.13.ebuild | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/sys-auth/libyubikey/libyubikey-1.13.ebuild 
b/sys-auth/libyubikey/libyubikey-1.13.ebuild
index 77e3e6329d8..6fbe9d92318 100644
--- a/sys-auth/libyubikey/libyubikey-1.13.ebuild
+++ b/sys-auth/libyubikey/libyubikey-1.13.ebuild
@@ -1,18 +1,23 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit eutils autotools-utils
+EAPI=7
 
 DESCRIPTION="Yubico C low-level library"
 HOMEPAGE="https://github.com/Yubico/yubico-c";
-#http://opensource.yubico.com/yubico-c/releases.html
 SRC_URI="http://opensource.yubico.com/yubico-c/releases/${P}.tar.gz";
 
-SLOT="0"
 LICENSE="BSD-2"
+SLOT="0"
 KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-IUSE="static-libs"
 
-DOCS=( AUTHORS ChangeLog NEWS README THANKS )
+src_configure() {
+       econf --disable-static
+}
+
+src_install() {
+       default
+
+       # no static archives
+       find "${ED}" -name '*.la' -delete || die
+}

Reply via email to