dev-libs/libdshconfig: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Tue, 18 Feb 2020 19:10:52 +0000 (20:10 +0100)
committerDavid Seifert <soap@gentoo.org>
Tue, 18 Feb 2020 19:10:52 +0000 (20:10 +0100)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
dev-libs/libdshconfig/libdshconfig-0.20.13.ebuild

index 649f6761cc48ddc3e4ef0a3fd51618208e6a791f..d7ed58d8cbb4799462adf9208b604b8157981f4d 100644 (file)
@@ -1,9 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-
-inherit eutils ltprune
+EAPI=7
 
 DESCRIPTION="Library for parsing dsh.style configuration files"
 HOMEPAGE="http://www.netfort.gr.jp/~dancer/software/downloads/"
@@ -12,18 +10,16 @@ SRC_URI="http://www.netfort.gr.jp/~dancer/software/downloads/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~m68k-mint"
-IUSE="static-libs"
 
-DEPEND=""
 RDEPEND="virtual/ssh"
 
 src_configure() {
-       econf \
-               $(use_enable static-libs static)
+       econf --disable-static
 }
 
 src_install() {
        default
 
-       prune_libtool_files --all
+       # no static archives
+       find "${D}" -name '*.la' -delete || die
 }