# ChangeLog for games-board/crafty
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.17 2006/06/02 22:25:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.18 2006/06/08 22:35:31 mr_bones_ Exp $
+
+*crafty-20.13 (08 Jun 2006)
+
+ 08 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org> crafty-20.1.ebuild,
+ crafty-20.11.ebuild, +crafty-20.13.ebuild:
+ version bump (bug #135849)
*crafty-20.11 (02 Jun 2006)
DIST crafty-19.20.tar.gz 404648
DIST crafty-20.1.zip 425288
DIST crafty-20.11.zip 422310 RMD160 a5b3fac95b3ccf37cd5dd7cb94965c6cecbf6fb6 SHA1 fe1757c2d97718b7774f50007faeaebee76eaa63 SHA256 136e2b60d5040a63a61103b22d514aaf35220a19408df7aa1adfbc0c8c8fb985
+DIST crafty-20.13.zip 422053 RMD160 65ae1a196376c697cd028ab818d5f2975682193c SHA1 4b9bd7d1f6098cfdbc2a7b5d854b5b1d37184bc9 SHA256 b80bbb7c72f8adb7dacf284eefd7e4dafdc2683eaf8d5255fc04c09a5b54de28
EBUILD crafty-19.20.ebuild 2275 RMD160 690525d14ebd65f6dc40e4afac7d423e93cca09c SHA1 36a7bd3bb41cf7867a4d1c222eb19eee72c8d248 SHA256 5038c6f718421fe5d4115e322d73f12ab25cd4ffae9c71c9691cc1ea2912fe11
MD5 6646e459c86a10c6539f2c91341d3e22 crafty-19.20.ebuild 2275
RMD160 690525d14ebd65f6dc40e4afac7d423e93cca09c crafty-19.20.ebuild 2275
SHA256 5038c6f718421fe5d4115e322d73f12ab25cd4ffae9c71c9691cc1ea2912fe11 crafty-19.20.ebuild 2275
-EBUILD crafty-20.1.ebuild 2287 RMD160 b83de37d80185bbfed10bf8d1eb83aaef4e89e56 SHA1 f2e2e74cb6ca698509a3522d31e7f9132087dec9 SHA256 a4c285eea2f3b4b43bf226693a78dbbed0dd46acacc14fb33ac15558106e100d
-MD5 d0a5ce169e3de402085e8fc69be3e1cf crafty-20.1.ebuild 2287
-RMD160 b83de37d80185bbfed10bf8d1eb83aaef4e89e56 crafty-20.1.ebuild 2287
-SHA256 a4c285eea2f3b4b43bf226693a78dbbed0dd46acacc14fb33ac15558106e100d crafty-20.1.ebuild 2287
-EBUILD crafty-20.11.ebuild 2288 RMD160 cff32ec9f2451ac44bee11e505869fffbecc525b SHA1 46cf498a27c1c3be67bb6329d1c7fb3aebe28f00 SHA256 f082bb497431b3015347fc34d99b941fbfc30ad93699dd935a8077c865b01dfc
-MD5 fde94b219d067eb70ad0c50091463654 crafty-20.11.ebuild 2288
-RMD160 cff32ec9f2451ac44bee11e505869fffbecc525b crafty-20.11.ebuild 2288
-SHA256 f082bb497431b3015347fc34d99b941fbfc30ad93699dd935a8077c865b01dfc crafty-20.11.ebuild 2288
-MISC ChangeLog 2622 RMD160 40767b93a58fce3b1240c1b95dee7b5d9c1367bc SHA1 a3269372776939759beda8cea2992f4b857e77b1 SHA256 09a3c2df4d4aafcf1b481008e3896d0dd85954e5b67a3e87d912847a30a5b810
-MD5 9c8c959aa074ebb726ed78be56b94915 ChangeLog 2622
-RMD160 40767b93a58fce3b1240c1b95dee7b5d9c1367bc ChangeLog 2622
-SHA256 09a3c2df4d4aafcf1b481008e3896d0dd85954e5b67a3e87d912847a30a5b810 ChangeLog 2622
+EBUILD crafty-20.1.ebuild 2290 RMD160 0361600b0db94bbcd4c1ffe076e6b2da5ce7c243 SHA1 084a2dd869474bd43c76278933cc546b05188d1d SHA256 06bc2527497efd05556bc2552b0d8df80e99311102cd62ab805f6a2014589941
+MD5 5560f296073c612b2791942e5241b160 crafty-20.1.ebuild 2290
+RMD160 0361600b0db94bbcd4c1ffe076e6b2da5ce7c243 crafty-20.1.ebuild 2290
+SHA256 06bc2527497efd05556bc2552b0d8df80e99311102cd62ab805f6a2014589941 crafty-20.1.ebuild 2290
+EBUILD crafty-20.11.ebuild 2291 RMD160 f713233614325b5c772ca9f25c5b2bd3a67e5d27 SHA1 2064437cc97b04efd5c3bca311445080432b569e SHA256 06f049db50c439d765dcc390327c22d46bcc81ed9bd992ce91a1d6a803531096
+MD5 c791db3b7b801dc435a03c5036790f8a crafty-20.11.ebuild 2291
+RMD160 f713233614325b5c772ca9f25c5b2bd3a67e5d27 crafty-20.11.ebuild 2291
+SHA256 06f049db50c439d765dcc390327c22d46bcc81ed9bd992ce91a1d6a803531096 crafty-20.11.ebuild 2291
+EBUILD crafty-20.13.ebuild 2291 RMD160 ef3ee8e1f5a318843efabec25c827da6ad29e009 SHA1 2a198af356f55fb10ea2b6bef3c5a4433d48f068 SHA256 736123ea4e3489bf759ee3b1680761626ad758a8f7428683e63577cb28300f84
+MD5 8806690c6ef8a1ab1f4c235a5b875f84 crafty-20.13.ebuild 2291
+RMD160 ef3ee8e1f5a318843efabec25c827da6ad29e009 crafty-20.13.ebuild 2291
+SHA256 736123ea4e3489bf759ee3b1680761626ad758a8f7428683e63577cb28300f84 crafty-20.13.ebuild 2291
+MISC ChangeLog 2801 RMD160 6d7ab65492faaed5df98beb3eec7b2ce8806b637 SHA1 6829f6bea8ccb53105527a0cfcc5ac940183631a SHA256 4561183585d15f8eb69dc1e90603757055b5c0f7abe48ac6ff5ca181e6a55acb
+MD5 ccce5c652a73db3a0d45d40efdb219f1 ChangeLog 2801
+RMD160 6d7ab65492faaed5df98beb3eec7b2ce8806b637 ChangeLog 2801
+SHA256 4561183585d15f8eb69dc1e90603757055b5c0f7abe48ac6ff5ca181e6a55acb ChangeLog 2801
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
MD5 619d3c097d3393cf0edca94681804e00 files/digest-crafty-20.11 229
RMD160 3021b43d14095c5aaa84fda8ffd88d2fe8dc69c9 files/digest-crafty-20.11 229
SHA256 eb6c9c12418c1d7010bd140b0295a9ad8f8c95ef509334665a00b49dfa48f8e0 files/digest-crafty-20.11 229
+MD5 14bcb882d16fdf3c458e7f0935d60058 files/digest-crafty-20.13 229
+RMD160 f6abb38cbcf7942d6148d99f0b6674eee8b4d7a4 files/digest-crafty-20.13 229
+SHA256 d215e18348dc11adca36b03e430270848f84b3f70365c9c13466f4964e3c8e9e files/digest-crafty-20.13 229
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-20.1.ebuild,v 1.1 2005/11/12 11:21:52 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-20.1.ebuild,v 1.2 2006/06/08 22:35:31 mr_bones_ Exp $
inherit flag-o-matic games
DESCRIPTION="Bob Hyatt's strong chess engine"
HOMEPAGE="ftp://ftp.cis.uab.edu/pub/hyatt/"
-SRC_URI="ftp://ftp.cis.uab.edu/pub/hyatt/src/${P}.zip"
+SRC_URI="ftp://ftp.cis.uab.edu/pub/hyatt/source/${P}.zip"
LICENSE="crafty"
SLOT="0"
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-20.11.ebuild,v 1.1 2006/06/02 22:25:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-20.11.ebuild,v 1.2 2006/06/08 22:35:31 mr_bones_ Exp $
inherit flag-o-matic games
DESCRIPTION="Bob Hyatt's strong chess engine"
HOMEPAGE="ftp://ftp.cis.uab.edu/pub/hyatt/"
-SRC_URI="ftp://ftp.cis.uab.edu/pub/hyatt/src/${P}.zip"
+SRC_URI="ftp://ftp.cis.uab.edu/pub/hyatt/source/${P}.zip"
LICENSE="crafty"
SLOT="0"
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-20.13.ebuild,v 1.1 2006/06/08 22:35:31 mr_bones_ Exp $
+
+inherit flag-o-matic games
+
+DESCRIPTION="Bob Hyatt's strong chess engine"
+HOMEPAGE="ftp://ftp.cis.uab.edu/pub/hyatt/"
+SRC_URI="ftp://ftp.cis.uab.edu/pub/hyatt/source/${P}.zip"
+
+LICENSE="crafty"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE="icc no-opts"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ icc? ( >=dev-lang/icc-5.0 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/-o crafty/s/CC/CXX/' Makefile \
+ || die "sed failed"
+ sed -i \
+ -e "s:\"crafty.hlp\":\"${GAMES_DATADIR}/${PN}/crafty.hlp\":" option.c \
+ || die "sed failed"
+}
+
+src_compile() {
+ local makeopts="target=LINUX"
+
+ if ! use no-opts ; then
+ if use icc ; then
+ makeopts="${makeopts} CC=icc CXX=gcc asm=X86.o"
+ append-flags -D_REENTRANT -tpp6 \
+ -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
+ -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST \
+ -DSMP -DCPUS=4 -DCLONE -DDGT
+ append-flags -O2 -fno-alias -fforce-mem \
+ -fomit-frame-pointer -fno-gcse -mpreferred-stack-boundary=2
+ else
+ if [ "${CHOST}" == "i686-pc-linux-gnu" ] || [ "${CHOST}" == "i586-pc-linux-gnu" ] ; then
+ append-flags -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
+ -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B \
+ -DFAST -DSMP -DCPUS=4 -DCLONE -DDGT
+ append-flags -fforce-mem -fno-gcse \
+ -fomit-frame-pointer -mpreferred-stack-boundary=2
+ makeopts="${makeopts} CC=gcc CXX=g++ asm=X86.o"
+ else
+ : # everything else :)
+ fi
+ fi
+ fi
+ append-flags -DPOSIX
+ emake ${makeopts} crafty-make LDFLAGS="-lpthread" || die "build failed"
+}
+
+src_install() {
+ dogamesbin crafty || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins crafty.hlp || die "doins failed"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo
+ einfo "Note: No books or tablebases have been installed. If you want them, just"
+ einfo " download them from ${HOMEPAGE}."
+ einfo " You will find documentation there too. In most cases you take now "
+ einfo " your xboard compatible application, (xboard, eboard, knights) and "
+ einfo " just play chess against computer opponent. Have fun."
+ einfo
+}
--- /dev/null
+MD5 3b7c3e26f6501bb85bf9f86e4f16581a crafty-20.13.zip 422053
+RMD160 65ae1a196376c697cd028ab818d5f2975682193c crafty-20.13.zip 422053
+SHA256 b80bbb7c72f8adb7dacf284eefd7e4dafdc2683eaf8d5255fc04c09a5b54de28 crafty-20.13.zip 422053