summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2006-10-02 22:47:28 +0000
committerTristan Heaven <tristan@gentoo.org>2006-10-02 22:47:28 +0000
commitb23549c311f2dddb2f61975d695b00e92030194c (patch)
treea568edc7bd2c2a882a0296536f990da351ee3858 /games-board
parentRedigest for weird CVS failure. (diff)
downloadhistorical-b23549c311f2dddb2f61975d695b00e92030194c.tar.gz
historical-b23549c311f2dddb2f61975d695b00e92030194c.tar.bz2
historical-b23549c311f2dddb2f61975d695b00e92030194c.zip
Version bump
Package-Manager: portage-2.1.2_pre2-r1
Diffstat (limited to 'games-board')
-rw-r--r--games-board/crafty/ChangeLog7
-rw-r--r--games-board/crafty/Manifest16
-rw-r--r--games-board/crafty/crafty-20.14.ebuild78
-rw-r--r--games-board/crafty/files/digest-crafty-20.143
4 files changed, 99 insertions, 5 deletions
diff --git a/games-board/crafty/ChangeLog b/games-board/crafty/ChangeLog
index d0340993f100..90236c4fab4b 100644
--- a/games-board/crafty/ChangeLog
+++ b/games-board/crafty/ChangeLog
@@ -1,6 +1,11 @@
# 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.18 2006/06/08 22:35:31 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.19 2006/10/02 22:47:28 nyhm Exp $
+
+*crafty-20.14 (02 Oct 2006)
+
+ 02 Oct 2006; Tristan Heaven <nyhm@gentoo.org> +crafty-20.14.ebuild:
+ Version bump
*crafty-20.13 (08 Jun 2006)
diff --git a/games-board/crafty/Manifest b/games-board/crafty/Manifest
index 8f7cc15be990..04e4ca2f6d63 100644
--- a/games-board/crafty/Manifest
+++ b/games-board/crafty/Manifest
@@ -1,5 +1,6 @@
DIST crafty-20.11.zip 422310 RMD160 a5b3fac95b3ccf37cd5dd7cb94965c6cecbf6fb6 SHA1 fe1757c2d97718b7774f50007faeaebee76eaa63 SHA256 136e2b60d5040a63a61103b22d514aaf35220a19408df7aa1adfbc0c8c8fb985
DIST crafty-20.13.zip 422053 RMD160 65ae1a196376c697cd028ab818d5f2975682193c SHA1 4b9bd7d1f6098cfdbc2a7b5d854b5b1d37184bc9 SHA256 b80bbb7c72f8adb7dacf284eefd7e4dafdc2683eaf8d5255fc04c09a5b54de28
+DIST crafty-20.14.zip 422894 RMD160 a68e46b1d68ffa77c477d707e4003737c786e11f SHA1 5dbcbb9a6a3fc7fa8e8e874fc7cb39839fbe428a SHA256 9e4b90bde9c156ad537d6228c678d39dcaf790a0603125ab37ed48fb4662a01a
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
@@ -8,10 +9,14 @@ EBUILD crafty-20.13.ebuild 2291 RMD160 ef3ee8e1f5a318843efabec25c827da6ad29e009
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
+EBUILD crafty-20.14.ebuild 2315 RMD160 61c5245f8ba0f8c5b6604d7efde85e9afa283b2f SHA1 dffb83fc867324702c2c95d8eeb468b1a1b80f0c SHA256 9a0a61b75c1ad496fdd635470b0c1377f72134d56789d740c7cb05f25ff8551a
+MD5 8e3852bca131547a6a5913c36943cc4a crafty-20.14.ebuild 2315
+RMD160 61c5245f8ba0f8c5b6604d7efde85e9afa283b2f crafty-20.14.ebuild 2315
+SHA256 9a0a61b75c1ad496fdd635470b0c1377f72134d56789d740c7cb05f25ff8551a crafty-20.14.ebuild 2315
+MISC ChangeLog 2911 RMD160 777720b72e3aa0fd9b32ee561aefc33b95b8e431 SHA1 29dab143e7acae2470c42256315a7b2aa27933a2 SHA256 0a7ba4a189952207ad0cf190f7f5c0c0d0b00b28794cd00699257c68c9e63119
+MD5 ed8965f1abb0eaac47a8d8e2cf9b4c7f ChangeLog 2911
+RMD160 777720b72e3aa0fd9b32ee561aefc33b95b8e431 ChangeLog 2911
+SHA256 0a7ba4a189952207ad0cf190f7f5c0c0d0b00b28794cd00699257c68c9e63119 ChangeLog 2911
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -22,3 +27,6 @@ SHA256 eb6c9c12418c1d7010bd140b0295a9ad8f8c95ef509334665a00b49dfa48f8e0 files/di
MD5 14bcb882d16fdf3c458e7f0935d60058 files/digest-crafty-20.13 229
RMD160 f6abb38cbcf7942d6148d99f0b6674eee8b4d7a4 files/digest-crafty-20.13 229
SHA256 d215e18348dc11adca36b03e430270848f84b3f70365c9c13466f4964e3c8e9e files/digest-crafty-20.13 229
+MD5 bdaa468555adc2d3e1af306a5fc057a7 files/digest-crafty-20.14 229
+RMD160 1dbc75d2cde5dda0f5a3fbd7b7517eb87f72092f files/digest-crafty-20.14 229
+SHA256 60eb692ad89bf508b88799539e1f8c6a664e56d6f0485510af98f5dd4c80a2fb files/digest-crafty-20.14 229
diff --git a/games-board/crafty/crafty-20.14.ebuild b/games-board/crafty/crafty-20.14.ebuild
new file mode 100644
index 000000000000..28e4c385f92e
--- /dev/null
+++ b/games-board/crafty/crafty-20.14.ebuild
@@ -0,0 +1,78 @@
+# 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.14.ebuild,v 1.1 2006/10/02 22:47:28 nyhm 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"
+RESTRICT="test"
+
+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="${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
+}
diff --git a/games-board/crafty/files/digest-crafty-20.14 b/games-board/crafty/files/digest-crafty-20.14
new file mode 100644
index 000000000000..cbdf4f1fc0cb
--- /dev/null
+++ b/games-board/crafty/files/digest-crafty-20.14
@@ -0,0 +1,3 @@
+MD5 ab681d84fc2f01ce0789cf4f47c945f8 crafty-20.14.zip 422894
+RMD160 a68e46b1d68ffa77c477d707e4003737c786e11f crafty-20.14.zip 422894
+SHA256 9e4b90bde9c156ad537d6228c678d39dcaf790a0603125ab37ed48fb4662a01a crafty-20.14.zip 422894