summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-16 00:23:16 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-16 00:23:16 +0100
commit548a71a590bc2d1879da0372a02c46ed04bddfd8 (patch)
tree1a213f84150a92cf23a953bf6e5b2d77391c6314 /net-libs
parentmedia-libs/vitamtp: disable static libs (diff)
downloadgentoo-548a71a590bc2d1879da0372a02c46ed04bddfd8.tar.gz
gentoo-548a71a590bc2d1879da0372a02c46ed04bddfd8.tar.bz2
gentoo-548a71a590bc2d1879da0372a02c46ed04bddfd8.zip
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>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libcapi/libcapi-3.0.7-r1.ebuild30
1 files changed, 22 insertions, 8 deletions
diff --git a/net-libs/libcapi/libcapi-3.0.7-r1.ebuild b/net-libs/libcapi/libcapi-3.0.7-r1.ebuild
index e8956cc46aea..581f0ffff130 100644
--- a/net-libs/libcapi/libcapi-3.0.7-r1.ebuild
+++ b/net-libs/libcapi/libcapi-3.0.7-r1.ebuild
@@ -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
+}