From dc4476fd5b5ab8a88749cf42cc4f59430d429e63 Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Mon, 16 Nov 2020 00:23:25 +0100 Subject: sys-auth/ykclient: disable static libs, port to EAPI 7 Closes: https://bugs.gentoo.org/725690 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic Signed-off-by: David Seifert --- sys-auth/ykclient/ykclient-2.15.ebuild | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'sys-auth') diff --git a/sys-auth/ykclient/ykclient-2.15.ebuild b/sys-auth/ykclient/ykclient-2.15.ebuild index cec75e52208d..e119df25b795 100644 --- a/sys-auth/ykclient/ykclient-2.15.ebuild +++ b/sys-auth/ykclient/ykclient-2.15.ebuild @@ -1,19 +1,26 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="Yubico C client library" SRC_URI="http://opensource.yubico.com/yubico-c-client/releases/${P}.tar.gz" HOMEPAGE="https://github.com/Yubico/yubico-c-client" -KEYWORDS="~amd64 ~x86" -SLOT="0" LICENSE="BSD-2" -IUSE="static-libs" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# Tests require an active network connection, we don't want to run them +RESTRICT="test" -RDEPEND=">=net-misc/curl-7.21.1" +RDEPEND="net-misc/curl" DEPEND="${RDEPEND}" -# Tests require an active network connection, we don't want to run them -RESTRICT="test" +src_configure() { + econf --disable-static +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} -- cgit v1.2.3-65-gdbad