summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation')
-rwxr-xr-xgames-simulation/realtimebattle/Manifest8
-rwxr-xr-xgames-simulation/realtimebattle/files/digest-realtimebattle-1.0.83
-rwxr-xr-xgames-simulation/realtimebattle/realtimebattle-1.0.8.ebuild45
3 files changed, 56 insertions, 0 deletions
diff --git a/games-simulation/realtimebattle/Manifest b/games-simulation/realtimebattle/Manifest
new file mode 100755
index 0000000..47ca616
--- /dev/null
+++ b/games-simulation/realtimebattle/Manifest
@@ -0,0 +1,8 @@
+DIST RealTimeBattle-1.0.8-Ext.tar.gz 1287456 RMD160 76960fa356245ae484a07dcd49515f22cf85d94f SHA1 1b4cc67766d26b5d9a23e880d4ca01587ac4e1f4 SHA256 11a29720af3e7173f1afcc6b85b83a33015bdeadc3528874a504975024d86aaa
+EBUILD realtimebattle-1.0.8.ebuild 1145 RMD160 0c47d59beee1f0a2e6d914282904b0d53a81dc61 SHA1 e2b4ed0f182f8052547c173cda39a1064aaf0fed SHA256 d4f10d0929434cc756a0e625ed5294d38d159762fb72eac8d2341ae388d9ba3f
+MD5 63a0222d646e089d45aad7bb6e7767dd realtimebattle-1.0.8.ebuild 1145
+RMD160 0c47d59beee1f0a2e6d914282904b0d53a81dc61 realtimebattle-1.0.8.ebuild 1145
+SHA256 d4f10d0929434cc756a0e625ed5294d38d159762fb72eac8d2341ae388d9ba3f realtimebattle-1.0.8.ebuild 1145
+MD5 0abf97ae00025e2bcf6e9597fe550e82 files/digest-realtimebattle-1.0.8 277
+RMD160 82f45bdcfbb554ae3316356356d7a86fa529418f files/digest-realtimebattle-1.0.8 277
+SHA256 87d2a0676e7e32cfe8fd8354fd423b537cdb3c5dba9ac3d7138e8fbf4492c78b files/digest-realtimebattle-1.0.8 277
diff --git a/games-simulation/realtimebattle/files/digest-realtimebattle-1.0.8 b/games-simulation/realtimebattle/files/digest-realtimebattle-1.0.8
new file mode 100755
index 0000000..66c4c09
--- /dev/null
+++ b/games-simulation/realtimebattle/files/digest-realtimebattle-1.0.8
@@ -0,0 +1,3 @@
+MD5 7f044f55e443f305e5c4c6c52a72c6e9 RealTimeBattle-1.0.8-Ext.tar.gz 1287456
+RMD160 76960fa356245ae484a07dcd49515f22cf85d94f RealTimeBattle-1.0.8-Ext.tar.gz 1287456
+SHA256 11a29720af3e7173f1afcc6b85b83a33015bdeadc3528874a504975024d86aaa RealTimeBattle-1.0.8-Ext.tar.gz 1287456
diff --git a/games-simulation/realtimebattle/realtimebattle-1.0.8.ebuild b/games-simulation/realtimebattle/realtimebattle-1.0.8.ebuild
new file mode 100755
index 0000000..c00f9d5
--- /dev/null
+++ b/games-simulation/realtimebattle/realtimebattle-1.0.8.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+MY_P1E="RealTimeBattle-${PV}-Ext"
+
+DESCRIPTION="A programming game in which robots controlled by programs fight each other."
+HOMEPAGE="http://realtimebattle.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P1E}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+IUSE="perl nls java debug doc"
+
+DEPEND=">=x11-libs/gtk+-2.0.3
+ perl? ( >=dev-lang/perl-5.6.1 )
+ nls? ( sys-devel/gettext )
+ java? ( virtual/jre )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ MY_P="${MY_P1E}"
+ #S="${WORKDIR}/${MY_P}" it does not run :(
+ cd ${WORKDIR} &&
+ mv ${MY_P} ${P}
+}
+
+src_compile() {
+ use nls || myconf="--disable-nls"
+ econf $(use_enable debug) ${myconf} || die "Configure failed"
+ emake || die "Compile failed"
+}
+
+src_install(){
+ make DESTDIR="${D}" install || die "Install failed"
+ mkdir -p ${D}/usr/share/games ${D}/usr/games/bin
+ mv ${D}/usr/bin/* ${D}/usr/games/bin/
+ use doc || rm -Rf ${D}/usr/games/RealTimeBattle/Documentation
+ mv ${D}/usr/games/RealTimeBattle ${D}/usr/share/games/
+ rm -R ${D}/usr/bin
+}
+