summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-01-08 07:08:44 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-01-08 07:08:44 +0000
commit307356ce9aaf39e273cb3b9791e5f24004ca3e0e (patch)
tree25032f12c4026c76e3b2edf36326a7f8b03c0087 /games-board/grhino
parentStable on x86. (diff)
downloadgentoo-2-307356ce9aaf39e273cb3b9791e5f24004ca3e0e.tar.gz
gentoo-2-307356ce9aaf39e273cb3b9791e5f24004ca3e0e.tar.bz2
gentoo-2-307356ce9aaf39e273cb3b9791e5f24004ca3e0e.zip
New ebuild for an Othello game with strong AI. Bug #90373
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-board/grhino')
-rw-r--r--games-board/grhino/ChangeLog9
-rw-r--r--games-board/grhino/Manifest16
-rw-r--r--games-board/grhino/files/digest-grhino-0.16.03
-rw-r--r--games-board/grhino/grhino-0.16.0.ebuild46
-rw-r--r--games-board/grhino/metadata.xml9
5 files changed, 83 insertions, 0 deletions
diff --git a/games-board/grhino/ChangeLog b/games-board/grhino/ChangeLog
new file mode 100644
index 000000000000..ef435471e4df
--- /dev/null
+++ b/games-board/grhino/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-board/grhino
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.1 2007/01/08 07:08:44 tupone Exp $
+
+*grhino-0.16.0 (08 Jan 2007)
+
+ 08 Jan 2007; <tupone@gentoo.org> +grhino-0.16.0.ebuild:
+ New ebuild. Bug #90373 by Anton Romanov
+
diff --git a/games-board/grhino/Manifest b/games-board/grhino/Manifest
new file mode 100644
index 000000000000..9cf5b7b7867a
--- /dev/null
+++ b/games-board/grhino/Manifest
@@ -0,0 +1,16 @@
+DIST grhino-0.16.0.tar.gz 1172321 RMD160 f91415e5263eec3837a2a0cb06b610f0ba64668f SHA1 ca76895fc2370995e4942aec98e4359ce5549925 SHA256 67c3263bcfeb064b859149b25ee3c1c7d33a07ff4f83955eb501e9517069b9cf
+EBUILD grhino-0.16.0.ebuild 1006 RMD160 765852f13ca1d7eb9f35c5b4d07b9262d12e0bb6 SHA1 290decbd92ce07a4f7e50b9e422936eff310e72a SHA256 aa159be7865e3085d6bc0197d7a703e999a1487c5b216f29e1d25b2fdf5b3e2f
+MD5 407f84071739bbfe73c65424ed272620 grhino-0.16.0.ebuild 1006
+RMD160 765852f13ca1d7eb9f35c5b4d07b9262d12e0bb6 grhino-0.16.0.ebuild 1006
+SHA256 aa159be7865e3085d6bc0197d7a703e999a1487c5b216f29e1d25b2fdf5b3e2f grhino-0.16.0.ebuild 1006
+MISC ChangeLog 250 RMD160 714b0db1373f25b860df0db681f4640cf8856d26 SHA1 a9646ebcbd059b9e90264cb0213b663f93bea22e SHA256 8f4a8b25272dbeacc1657ffe3da28acf16179d64c3d9b2fdd7e246e061e03b12
+MD5 158e2725763e86c5719855c39b721fcf ChangeLog 250
+RMD160 714b0db1373f25b860df0db681f4640cf8856d26 ChangeLog 250
+SHA256 8f4a8b25272dbeacc1657ffe3da28acf16179d64c3d9b2fdd7e246e061e03b12 ChangeLog 250
+MISC metadata.xml 238 RMD160 8872b2ed83510b48c76de3a803f2a210700dd788 SHA1 06e93b70ce65d919134523c7a0e4eea53f24bbaf SHA256 6074371c0e97117a7c74e35f1a976752b7d0a35696304999f64ee050109da08a
+MD5 53c3ea18e0d4b2ec8f23a1726fd2598f metadata.xml 238
+RMD160 8872b2ed83510b48c76de3a803f2a210700dd788 metadata.xml 238
+SHA256 6074371c0e97117a7c74e35f1a976752b7d0a35696304999f64ee050109da08a metadata.xml 238
+MD5 1645af6c8a185076c03cdaafbfba0a4e files/digest-grhino-0.16.0 244
+RMD160 b945239b8bf0fab4e496ad2832ab86250004f7e1 files/digest-grhino-0.16.0 244
+SHA256 8770b2359a20e7941d67bf5580fcb9daf99ac39f7016fdbc67debeb76a70161d files/digest-grhino-0.16.0 244
diff --git a/games-board/grhino/files/digest-grhino-0.16.0 b/games-board/grhino/files/digest-grhino-0.16.0
new file mode 100644
index 000000000000..6238d7301c2f
--- /dev/null
+++ b/games-board/grhino/files/digest-grhino-0.16.0
@@ -0,0 +1,3 @@
+MD5 51d975cc1645112d12bb5fd030db1f7f grhino-0.16.0.tar.gz 1172321
+RMD160 f91415e5263eec3837a2a0cb06b610f0ba64668f grhino-0.16.0.tar.gz 1172321
+SHA256 67c3263bcfeb064b859149b25ee3c1c7d33a07ff4f83955eb501e9517069b9cf grhino-0.16.0.tar.gz 1172321
diff --git a/games-board/grhino/grhino-0.16.0.ebuild b/games-board/grhino/grhino-0.16.0.ebuild
new file mode 100644
index 000000000000..b363367e385e
--- /dev/null
+++ b/games-board/grhino/grhino-0.16.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.1 2007/01/08 07:08:44 tupone Exp $
+
+inherit eutils games
+
+DESCRIPTION="Reversi game for GNOME, supporting the Go/Game Text Protocol"
+HOMEPAGE="http://rhino.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rhino/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gnome gtp"
+
+DEPEND="gnome? ( =gnome-base/libgnomeui-2* )"
+
+pkg_setup() {
+ if ! ( use gnome || use gtp ); then
+ die "Aborting build. You you have to specify gnome or gtp use flags"
+ fi
+ games_pkg_setup
+}
+
+src_compile() {
+ egamesconf \
+ $(use_enable gnome) \
+ $(use_enable gtp) \
+ || die "egamesconf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ use gnome && dogamesbin ${PN} \
+ || die "installing the binary failed"
+ use gtp && dogamesbin gtp-rhino \
+ || die "installing the binary failed"
+ make install DESTDIR=${D}
+
+ dodoc ChangeLog NEWS README TODO
+
+ doicon ${PN}.png
+ make_desktop_entry ${PN} "GRhino" ${PN}.png
+
+ prepgamesdirs
+}
diff --git a/games-board/grhino/metadata.xml b/games-board/grhino/metadata.xml
new file mode 100644
index 000000000000..3a5a095aa1f5
--- /dev/null
+++ b/games-board/grhino/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription lang="en">
+An Othello game with strong AI.
+</longdescription>
+</pkgmetadata>
+