summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2014-12-31 11:36:52 +0000
committerAlfredo Tupone <tupone@gentoo.org>2014-12-31 11:36:52 +0000
commitb814568502e7c9242391212f64dc20e965a6b494 (patch)
tree9547ddbac2ac9d4fe2525d90eb144020dddb7c2e /games-action/btanks
parentAdd ~x86, wrt bug #501152 (diff)
downloadgentoo-2-b814568502e7c9242391212f64dc20e965a6b494.tar.gz
gentoo-2-b814568502e7c9242391212f64dc20e965a6b494.tar.bz2
gentoo-2-b814568502e7c9242391212f64dc20e965a6b494.zip
Migration to EAPI 4
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-action/btanks')
-rw-r--r--games-action/btanks/ChangeLog7
-rw-r--r--games-action/btanks/btanks-0.9.8083.ebuild17
2 files changed, 13 insertions, 11 deletions
diff --git a/games-action/btanks/ChangeLog b/games-action/btanks/ChangeLog
index 1efc9ff2cfa5..05b331708029 100644
--- a/games-action/btanks/ChangeLog
+++ b/games-action/btanks/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/btanks
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v 1.26 2012/10/08 09:02:14 tupone Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v 1.27 2014/12/31 11:36:52 tupone Exp $
+
+ 31 Dec 2014; Tupone Alfredo <tupone@gentoo.org> btanks-0.9.8083.ebuild:
+ Migration to EAPI 4
08 Oct 2012; Tupone Alfredo <tupone@gentoo.org> btanks-0.9.8083.ebuild,
+files/btanks-0.9.8083-gcc47.patch:
diff --git a/games-action/btanks/btanks-0.9.8083.ebuild b/games-action/btanks/btanks-0.9.8083.ebuild
index 952b020cc13c..70174ee0d785 100644
--- a/games-action/btanks/btanks-0.9.8083.ebuild
+++ b/games-action/btanks/btanks-0.9.8083.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.9.8083.ebuild,v 1.6 2012/10/08 09:02:14 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.9.8083.ebuild,v 1.7 2014/12/31 11:36:52 tupone Exp $
-EAPI=2
+EAPI=4
inherit eutils scons-utils games
DESCRIPTION="Fast 2D tank arcade game with multiplayer and split-screen modes"
@@ -37,17 +37,16 @@ src_compile() {
prefix="${GAMES_PREFIX}" \
lib_dir="$(games_get_libdir)"/${PN} \
plugins_dir="$(games_get_libdir)"/${PN} \
- resources_dir="${GAMES_DATADIR}"/${PN} \
- || die
+ resources_dir="${GAMES_DATADIR}"/${PN}
}
src_install() {
- dogamesbin build/release/engine/btanks || die "dogamesbin failed"
- newgamesbin build/release/editor/bted btanksed || die "newgamesbin failed"
+ dogamesbin build/release/engine/btanks
+ newgamesbin build/release/editor/bted btanksed
exeinto "$(games_get_libdir)"/${PN}
- doexe build/release/*/*.so || die "doexe failed"
+ doexe build/release/*/*.so
insinto "${GAMES_DATADIR}"/${PN}
- doins -r data || die "doins failed"
+ doins -r data
newicon engine/src/bt.xpm ${PN}.xpm
make_desktop_entry ${PN} "Battle Tanks"
dodoc ChangeLog *.txt