summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-05-29 21:40:14 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-05-29 21:40:14 +0000
commitbcec68b5b7d243b59be11e13cb34731d50c724c8 (patch)
tree356528eb664e417169de4192f677fc87d6d4fccd
parentalpha stable wrt #175560 (diff)
downloadgentoo-2-bcec68b5b7d243b59be11e13cb34731d50c724c8.tar.gz
gentoo-2-bcec68b5b7d243b59be11e13cb34731d50c724c8.tar.bz2
gentoo-2-bcec68b5b7d243b59be11e13cb34731d50c724c8.zip
New package. Bug #157264
(Portage version: 2.1.2.7)
-rw-r--r--games-board/phalanx/ChangeLog10
-rw-r--r--games-board/phalanx/Manifest16
-rw-r--r--games-board/phalanx/files/digest-phalanx-223
-rw-r--r--games-board/phalanx/metadata.xml10
-rw-r--r--games-board/phalanx/phalanx-22.ebuild38
5 files changed, 77 insertions, 0 deletions
diff --git a/games-board/phalanx/ChangeLog b/games-board/phalanx/ChangeLog
new file mode 100644
index 000000000000..2907f29447fe
--- /dev/null
+++ b/games-board/phalanx/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-board/phalanx
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/phalanx/ChangeLog,v 1.1 2007/05/29 21:40:14 tupone Exp $
+
+*phalanx-22 (29 May 2007)
+
+ 29 May 2007; Tupone Alfredo <tupone@gentoo.org> +metadata.xml,
+ +phalanx-22.ebuild:
+ New package. Bug #157264 by Ville Oikarinen
+
diff --git a/games-board/phalanx/Manifest b/games-board/phalanx/Manifest
new file mode 100644
index 000000000000..dd9843983364
--- /dev/null
+++ b/games-board/phalanx/Manifest
@@ -0,0 +1,16 @@
+DIST Phalanx-XXII.tar.gz 356831 RMD160 19c02e05e083f0ae5c894942f923d3f55831d3db SHA1 33e64dfe8004b50dcb76aa96fea49b91967f2f19 SHA256 1ec5e8e5f71e199963796462086a6e9a0d8856b7fd4b83324a30a35c25677082
+EBUILD phalanx-22.ebuild 971 RMD160 036c1469d2ea90632692b227275893f4ef4ff81c SHA1 b51dc89bb1928c1160c693d8205b914cfdad65b3 SHA256 c6774905e50829ad85dbf823f999ec8ad350db9b0b382134787a01de25cb6fc1
+MD5 c3dea07aac0cb5e8ef2c691414b0e999 phalanx-22.ebuild 971
+RMD160 036c1469d2ea90632692b227275893f4ef4ff81c phalanx-22.ebuild 971
+SHA256 c6774905e50829ad85dbf823f999ec8ad350db9b0b382134787a01de25cb6fc1 phalanx-22.ebuild 971
+MISC ChangeLog 281 RMD160 6e5b7b69a1800d4a91892e6cd1e814339e774e2d SHA1 522da0ef2729fe7e05b747bc841e975b4faad3f6 SHA256 db04dfe7efa94e2af79d62177cc2b48f5fa7cefeb36dabed18bb68d6bc24acaf
+MD5 207eda76961fefbcf5a6418d72e6ddb7 ChangeLog 281
+RMD160 6e5b7b69a1800d4a91892e6cd1e814339e774e2d ChangeLog 281
+SHA256 db04dfe7efa94e2af79d62177cc2b48f5fa7cefeb36dabed18bb68d6bc24acaf ChangeLog 281
+MISC metadata.xml 417 RMD160 31d07f1e0d1fac722c8b085fcfe27a01340b99b7 SHA1 ee6410dee0645687690217c9a3e07ee2495f184b SHA256 1dd2fa8af935f665b9712a50bd082a5c0aef22479ac7d37a8e50131dab718420
+MD5 b3b160fd8a7e7035231afb27731ffb6c metadata.xml 417
+RMD160 31d07f1e0d1fac722c8b085fcfe27a01340b99b7 metadata.xml 417
+SHA256 1dd2fa8af935f665b9712a50bd082a5c0aef22479ac7d37a8e50131dab718420 metadata.xml 417
+MD5 459bb181f0ed960ebfbd3944815cc458 files/digest-phalanx-22 238
+RMD160 e665fff94562bf5e0e31424504bfcd980276d613 files/digest-phalanx-22 238
+SHA256 ce5d4f3f9a8d8ad95de6908fd268e4862d3b8c1c3a4f01c75ee76684dc1b6655 files/digest-phalanx-22 238
diff --git a/games-board/phalanx/files/digest-phalanx-22 b/games-board/phalanx/files/digest-phalanx-22
new file mode 100644
index 000000000000..752e5a9ec19a
--- /dev/null
+++ b/games-board/phalanx/files/digest-phalanx-22
@@ -0,0 +1,3 @@
+MD5 24657c063f5fda57e70130483bd45cd0 Phalanx-XXII.tar.gz 356831
+RMD160 19c02e05e083f0ae5c894942f923d3f55831d3db Phalanx-XXII.tar.gz 356831
+SHA256 1ec5e8e5f71e199963796462086a6e9a0d8856b7fd4b83324a30a35c25677082 Phalanx-XXII.tar.gz 356831
diff --git a/games-board/phalanx/metadata.xml b/games-board/phalanx/metadata.xml
new file mode 100644
index 000000000000..c4c4fa49916b
--- /dev/null
+++ b/games-board/phalanx/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription lang="en">
+This is the Phalanx chess engine. Phalanx's playing style is quite human-like;
+when it plays at full strength, it may be compared to a intermediate-to-strong
+player; beginners will be right at home with it, too.
+</longdescription>
+</pkgmetadata>
diff --git a/games-board/phalanx/phalanx-22.ebuild b/games-board/phalanx/phalanx-22.ebuild
new file mode 100644
index 000000000000..d59e56bae61a
--- /dev/null
+++ b/games-board/phalanx/phalanx-22.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/phalanx/phalanx-22.ebuild,v 1.1 2007/05/29 21:40:14 tupone Exp $
+
+inherit games
+
+MY_PN="Phalanx"
+MY_PV="XXII"
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="A chess engine suitable for beginner and intermediate players"
+HOMEPAGE="http://phalanx.sourceforge.net"
+SRC_URI="mirror://sourceforge/phalanx/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ # configure is not used in the project; confs are in Makefile,
+ # and here we override them:
+ local define="-DGNUFUN"
+ for myvar in "PBOOK" "SBOOK" "LEARN" ; do
+ define="${define} -D${myvar}_DIR=\"\\\"${GAMES_DATADIR}/${PN}\\\"\""
+ done
+ emake DEFINES="${define}" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dogamesbin phalanx || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins pbook.phalanx sbook.phalanx learn.phalanx || die "doins failed"
+ dodoc HISTORY README
+ prepgamesdirs
+}