Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/c++robots/
Date: Tue, 11 Oct 2016 22:59:30
Message-Id: 1476226547.0b609ecc756824fc76576755337fc35d74bb5688.wizardedit@gentoo
1 commit: 0b609ecc756824fc76576755337fc35d74bb5688
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 11 21:02:18 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 11 22:55:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b609ecc
7
8 games-misc/c++robots: remove deprecated games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: portage-2.3.0
15
16 games-misc/c++robots/c++robots-0-r1.ebuild | 31 ++++++++++++++++++++++++++++++
17 1 file changed, 31 insertions(+)
18
19 diff --git a/games-misc/c++robots/c++robots-0-r1.ebuild b/games-misc/c++robots/c++robots-0-r1.ebuild
20 new file mode 100644
21 index 00000000..d92a5a7
22 --- /dev/null
23 +++ b/games-misc/c++robots/c++robots-0-r1.ebuild
24 @@ -0,0 +1,31 @@
25 +# Copyright 1999-2016 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +
31 +DESCRIPTION="ongoing 'King of the Hill' (KotH) tournament"
32 +HOMEPAGE="http://www.gamerz.net/c++robots/"
33 +SRC_URI="http://www.gamerz.net/c++robots/c++robots.tar.gz"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +KEYWORDS="~x86 ~ppc"
38 +IUSE="static"
39 +
40 +S=${WORKDIR}/${PN}
41 +
42 +PATCHES=(
43 + "${FILESDIR}/proper-coding.patch"
44 +)
45 +
46 +src_compile() {
47 + local myldflags="${LDFLAGS}"
48 + use static && myldflags="${myldflags} -static"
49 + emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}"
50 +}
51 +
52 +src_install() {
53 + dobin combat cylon target tracker
54 + dodoc README
55 +}