ChangeLog

# ChangeLog for games-board/phalanx
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-board/phalanx/ChangeLog,v 1.4 2008/07/24 18:05:48 ken69267 Exp $

24 Jul 2008; Kenneth Prugh phalanx-22.ebuild:
amd64 stable, bug #232705

24 Jul 2008; Raúl Porcel phalanx-22.ebuild:
x86 stable wrt #232705

29 May 2007; Tristan Heaven phalanx-22.ebuild:
Add ~x86 keyword

*phalanx-22 (29 May 2007)

29 May 2007; Tupone Alfredo +metadata.xml,
+phalanx-22.ebuild:
New package. Bug #157264 by Ville Oikarinen

Manifest

DIST Phalanx-XXII.tar.gz 356831 RMD160 19c02e05e083f0ae5c894942f923d3f55831d3db SHA1 33e64dfe8004b50dcb76aa96fea49b91967f2f19 SHA256 1ec5e8e5f71e199963796462086a6e9a0d8856b7fd4b83324a30a35c25677082
EBUILD phalanx-22.ebuild 1074 RMD160 c71e97f851f89c186ca65776981aea12196953e0 SHA1 3294ebaf073d5e2078814d4dd0d003c0c31a1449 SHA256 43c73e78e036dadd93ee96fcf8d21f70704a39d118b73e9363ff63e8907324d3
MISC ChangeLog 654 RMD160 fa42947d028fa8188f88c0e340b6049ddfc9c201 SHA1 47d8d68599f1c068a05b96da4ad05d02959b2983 SHA256 785d405c682796c8b1117c8883090db96739621354141cffe927b2ba05ee58bf
MISC metadata.xml 417 RMD160 31d07f1e0d1fac722c8b085fcfe27a01340b99b7 SHA1 ee6410dee0645687690217c9a3e07ee2495f184b SHA256 1dd2fa8af935f665b9712a50bd082a5c0aef22479ac7d37a8e50131dab718420

metadata.xml




games

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.

phalanx-22.ebuild

# Copyright 1999-2008 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.4 2008/07/24 18:05:48 ken69267 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 x86"
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
}