commit:     5085200979d9602e1931d82f87bb75a1edab45cd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 09:05:48 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 18:50:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50852009

games-action/xbomber: update EAPI 6 -> 7, respect CC

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

 games-action/xbomber/xbomber-101-r1.ebuild | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/games-action/xbomber/xbomber-101-r1.ebuild 
b/games-action/xbomber/xbomber-101-r1.ebuild
index 2757b322f5d..c6c7c8ab406 100644
--- a/games-action/xbomber/xbomber-101-r1.ebuild
+++ b/games-action/xbomber/xbomber-101-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
+inherit toolchain-funcs
 
 DESCRIPTION="Bomberman clone w/multiplayer support"
 HOMEPAGE="http://www.xdr.com/dash/bomber.html";
@@ -10,7 +12,6 @@ SRC_URI="http://www.xdr.com/dash/${P}.tgz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="x11-libs/libX11"
 RDEPEND="!sci-biology/emboss
@@ -39,9 +40,17 @@ src_prepare() {
                -e "s:=\"data\":=\"/usr/share/${PN}\":" sound.c || die
 }
 
+src_compile() {
+       tc-export CC
+
+       emake
+}
+
 src_install() {
        dobin matcher bomber
+
        insinto /usr/share/${PN}
        doins -r data/*
+
        dodoc README Changelog
 }

Reply via email to