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

index 266f15686957ba3fa229005355309a26a857693a..c00d1015be58425236633c51d41878194293b53b 100644 (file)
@@ -1,9 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-
-inherit autotools-utils
+EAPI=7
 
 DESCRIPTION="An Event Expression Library inspired by CEE"
 HOMEPAGE="http://www.libee.org"
@@ -12,22 +10,27 @@ SRC_URI="http://www.libee.org/files/download/${P}.tar.gz"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 arm ~arm64 hppa x86 ~amd64-linux"
-IUSE="debug static-libs"
+IUSE="debug"
 
-DEPEND="dev-libs/libxml2
+RDEPEND="
+       dev-libs/libxml2
        dev-libs/libestr"
-RDEPEND="${DEPEND}"
-
-DOCS=(INSTALL ChangeLog)
+DEPEND="${RDEPEND}"
 
 src_configure() {
-       local myeconfargs=(
+       econf \
+               --disable-static \
+               --enable-testbench \
                $(use_enable debug)
-               --enable-testbench
-       )
-       autotools-utils_src_configure
 }
 
 src_compile() {
-       autotools-utils_src_compile -j1
+       emake -j1
+}
+
+src_install() {
+       default
+
+       # no static archives
+       find "${D}" -name '*.la' -delete || die
 }