net-libs/libcapi: disable static libs

Closes: https://bugs.gentoo.org/724902
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jakov Smolic
2020-11-16 00:23:16 +01:00
committed by David Seifert
parent 5f048b99af
commit 548a71a590

View File

@@ -1,11 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
inherit autotools-multilib
inherit autotools multilib-minimal
DESCRIPTION="CAPI library used by AVM products"
HOMEPAGE="http://www.tabos.org/ffgtk"
@@ -15,9 +13,25 @@ LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
S="${WORKDIR}/capi20"
RDEPEND="!net-dialup/capi4k-utils"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-remove-libcapi20dyn.patch" )
S="${WORKDIR}/capi20"
PATCHES=( "${FILESDIR}"/${P}-remove-libcapi20dyn.patch )
src_prepare() {
default
eautoreconf
multilib_copy_sources
}
multilib_src_configure() {
ECONF_SOURCE="${S}" \
econf --disable-static
}
multilib_src_install_all() {
einstalldocs
find "${ED}" -name '*.la' -delete || die
}