commit:     e86a7a5123f86e1d3cb2358f0a36343d9910c150
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 03:25:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 04:30:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e86a7a51

dev-games/poker-eval: port to EAPI 7, ltprune--, drop static-libs

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/poker-eval/poker-eval-138.0.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/dev-games/poker-eval/poker-eval-138.0.ebuild 
b/dev-games/poker-eval/poker-eval-138.0.ebuild
index c34ff418141..415cd26152e 100644
--- a/dev-games/poker-eval/poker-eval-138.0.ebuild
+++ b/dev-games/poker-eval/poker-eval-138.0.ebuild
@@ -1,8 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit ltprune
+EAPI=7
 
 DESCRIPTION="A fast C library for evaluating poker hands"
 HOMEPAGE="http://gna.org/projects/pokersource/";
@@ -11,16 +10,16 @@ 
SRC_URI="http://download.gna.org/pokersource/sources/${P}.tar.gz";
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="static-libs"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO WHATS-HERE )
 
 src_configure() {
        econf \
                --without-ccache \
-               $(use_enable static-libs static)
+               --disable-static
 }
 
 src_install() {
-       DOCS="AUTHORS ChangeLog NEWS README TODO WHATS-HERE" \
-               default
-       prune_libtool_files
+       default
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to