summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-04-23 04:33:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-04-23 04:33:17 +0000
commitceb6788c7eb6fe08446a8e36a92a31bc3d4c20eb (patch)
treee52e901221df708f3c4cae9b5154feae237539be
parentmake metadata.xml match DTD (diff)
downloadhistorical-ceb6788c7eb6fe08446a8e36a92a31bc3d4c20eb.tar.gz
historical-ceb6788c7eb6fe08446a8e36a92a31bc3d4c20eb.tar.bz2
historical-ceb6788c7eb6fe08446a8e36a92a31bc3d4c20eb.zip
version bump (bug #218922)
Package-Manager: portage-2.1.4.4
-rw-r--r--games-board/crafty/ChangeLog7
-rw-r--r--games-board/crafty/Manifest4
-rw-r--r--games-board/crafty/crafty-22.1.ebuild88
3 files changed, 97 insertions, 2 deletions
diff --git a/games-board/crafty/ChangeLog b/games-board/crafty/ChangeLog
index 95648257bf45..3e814616d1a1 100644
--- a/games-board/crafty/ChangeLog
+++ b/games-board/crafty/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/crafty
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.26 2008/04/11 15:41:11 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.27 2008/04/23 04:33:17 mr_bones_ Exp $
+
+*crafty-22.1 (23 Apr 2008)
+
+ 23 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org> +crafty-22.1.ebuild:
+ version bump (bug #218922)
11 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org> crafty-20.13.ebuild,
-crafty-21.6-r1.ebuild, crafty-22.0.ebuild:
diff --git a/games-board/crafty/Manifest b/games-board/crafty/Manifest
index 8a21bef9496b..1aff56ab6467 100644
--- a/games-board/crafty/Manifest
+++ b/games-board/crafty/Manifest
@@ -1,7 +1,9 @@
DIST crafty-20.13.zip 422053 RMD160 65ae1a196376c697cd028ab818d5f2975682193c SHA1 4b9bd7d1f6098cfdbc2a7b5d854b5b1d37184bc9 SHA256 b80bbb7c72f8adb7dacf284eefd7e4dafdc2683eaf8d5255fc04c09a5b54de28
DIST crafty-22.0.zip 402797 RMD160 3d8d69b532cb6c72db3ffe2c9f94571a4845f77b SHA1 219e9fd344a2e1704cc6da6b6588f94cd143dfe9 SHA256 05772b0a63a07dd5dafc307bcf41df41df0212209a22907244652422bb302fa6
+DIST crafty-22.1.zip 405169 RMD160 963ec8110617b3d1273953d03ddb974019ec26a9 SHA1 4ed19f5c676035b899d82cd254eee3d391cbabbf SHA256 ec25063af97d079402f1daee99493cc7d7c9a9df6001f856f9d0584dd23894be
DIST crafty.doc.ascii 79678 RMD160 f0c8304efcaa93a14a37da96d22bb25cda8d1bf5 SHA1 99bb27b39ddd4bd3db8078e128eadfcde1c3b64b SHA256 be291c0f4c7e7d64404ec58b9e92c2455c4342d3c96c721ba21a80fce8332e83
EBUILD crafty-20.13.ebuild 2291 RMD160 e3282db5f30c5d906a8d5a007bbc839784aba778 SHA1 7819ae301eebe4ed29ad3b7ad1c9dc563fdfa00d SHA256 ed74fb87b37b764600fac3c78e8e95efea19145b86c37dd92cb9302d0b8ec062
EBUILD crafty-22.0.ebuild 2694 RMD160 0d265d22d4ee51d2d6e7dda66a13777b78f31160 SHA1 1dff0cf436e8533836901048a3f991383fe11e0a SHA256 b409652a35d4f0e78d7b43f2d6436f90e7e0e11cf7469513404e0b84b39660d7
-MISC ChangeLog 3912 RMD160 13566cf4072db7d70117ae0b0c1f29a9c0b0bd52 SHA1 4859776a210051c4139b7988ad49e42529ef0149 SHA256 00d9831abf11b9e491e4c18360e1592390a4fd5b839d69ab4e5d8e4af40af638
+EBUILD crafty-22.1.ebuild 2695 RMD160 cac148cf4756e1595b8ac48d342e1dcdbf946a10 SHA1 a51a6f7c21f755393f59c5c08ebf9d92dcb07555 SHA256 2b93968e08aa242add7f4f4a383664da14d32cec560f8f44fbca5571001b59e9
+MISC ChangeLog 4047 RMD160 bc314d043088ab1ef61391d80389fdb3c150bf83 SHA1 a7bd368f6604e296f9d5ba9386e5704223d4ad0f SHA256 a457bc34220b65b179d5339cf9b3e6157ef2aa1c52a55753c7990ecf45acf3d6
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-board/crafty/crafty-22.1.ebuild b/games-board/crafty/crafty-22.1.ebuild
new file mode 100644
index 000000000000..8e0bae631740
--- /dev/null
+++ b/games-board/crafty/crafty-22.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-22.1.ebuild,v 1.1 2008/04/23 04:33:17 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
+ ftp://ftp.cis.uab.edu/pub/hyatt/documentation/${PN}.doc.ascii"
+
+LICENSE="crafty"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="no-opts"
+RESTRICT="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/-o crafty/s/CC/CXX/' \
+ -e 's:CXFLAGS:CXXFLAGS:g' \
+ 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 [[ $(tc-getCC) = 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 -fno-gcse \
+ -fomit-frame-pointer -mpreferred-stack-boundary=2
+ makeopts="${makeopts} CC=gcc CXX=g++"
+ elif [[ "${CHOST}" == "x86_64-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 -fomit-frame-pointer
+ makeopts="${makeopts} CC=gcc CXX=g++"
+ 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"
+ dodoc "${DISTDIR}"/crafty.doc.ascii
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog
+ elog "Note: No books or tablebases have been installed. If you want them, just"
+ elog " download them from ${HOMEPAGE}."
+ elog " You will find documentation there too. In most cases you take now "
+ elog " your xboard compatible application, (xboard, eboard, knights) and "
+ elog " just play chess against computer opponent. Have fun."
+ elog
+}