summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-09-12 08:03:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-09-12 08:03:35 +0000
commit0dd693c6c59e1636eb8e3be44b4307484e7778c8 (patch)
tree1d61ef6b67bfc06a950b78586e343c85ca66f41b /games-board
parentEAPI=5; tidy (diff)
downloadhistorical-0dd693c6c59e1636eb8e3be44b4307484e7778c8.tar.gz
historical-0dd693c6c59e1636eb8e3be44b4307484e7778c8.tar.bz2
historical-0dd693c6c59e1636eb8e3be44b4307484e7778c8.zip
version bump
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'games-board')
-rw-r--r--games-board/crafty/ChangeLog7
-rw-r--r--games-board/crafty/Manifest4
-rw-r--r--games-board/crafty/crafty-24.0.ebuild84
3 files changed, 93 insertions, 2 deletions
diff --git a/games-board/crafty/ChangeLog b/games-board/crafty/ChangeLog
index c199f9966525..8bf67eb3cf85 100644
--- a/games-board/crafty/ChangeLog
+++ b/games-board/crafty/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/crafty
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.56 2014/03/16 08:57:32 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.57 2014/09/12 08:03:30 mr_bones_ Exp $
+
+*crafty-24.0 (12 Sep 2014)
+
+ 12 Sep 2014; Michael Sterrett <mr_bones_@gentoo.org> +crafty-24.0.ebuild:
+ version bump
*crafty-23.8 (16 Mar 2014)
diff --git a/games-board/crafty/Manifest b/games-board/crafty/Manifest
index 59b1a2e78a31..76ff7a7638dc 100644
--- a/games-board/crafty/Manifest
+++ b/games-board/crafty/Manifest
@@ -1,8 +1,10 @@
AUX crafty-23.4-64bits.patch 541 SHA256 3126e5746d72faa8b7d5fbfba50acc2b4d874c90d9662b1ca55341c8314c1e79 SHA512 d809cbc88f5c4615abc6293ff6b67ef2755fad38ad464d7778256c1acb3e9e75d748339ed664ce31e3f1f87dbbf92a96adec4b4e13cba78047de239d78746873 WHIRLPOOL b08a09ad1a224f202bfe94b6b8296e87ff6c7fe34b1eb660cf8b64f2db8fe4f50253e0dbea9aade41a4bf07a36311d0cfbec7e57d596bf8dd46de7ac54cb6fa0
DIST crafty-23.4.zip 426295 SHA256 f49e119b9e843bd1f99b895919b4361ba0d6ae4349e2751a864872d6dd250e66 SHA512 30bc4a5a2b45e945db3d57d0039e8b9c3dae641686c7d3d5292b34d357be7cf819c6d0a94e8a3150f5e5938c9d4490093557ec501f7ec0e58be75927195508be WHIRLPOOL 7e95e108375d9de1419b8dbeb9ceb417c33101018bd765f2be42927bee15941f7eb5b5c91394b1c859201e7f0c14e19d9588b00ac5fe4854f4782577b70ea76e
DIST crafty-23.8.zip 429967 SHA256 01c3c34125e43dcdba9015d8b31f0e2c46a58d792e8eefc0b75ca3ec6b294e14 SHA512 9566fd838c73fedfc251e8c6740e626d107a89e27371fb568578e280e74ca0c61c4ed34f9c42ddf3558296684fdb2e54bc13a05287223061fc41d958faf03d90 WHIRLPOOL c8e31fa9d8a9b52afca18cf353879a85a5d50d0a778931a3399f6354b7ee0d94e67d3dcb7e480fda10094cb5dfc2f92ae62ef2d8c103316fea47c19b8c885ad7
+DIST crafty-24.0.zip 434880 SHA256 9c6372900574614fb36f82fd141357123be879225de0868e9b3be0fd16395cf4 SHA512 228d715f57cfe32a48ac4391adf66c256e3879523ca71861e5cc59c0a77125534848a894cf9f923f3406696d587b3f1a9ee815998c6dd188829cfccbe2e5290f WHIRLPOOL ee75c6a73bc89d8fe8be2e94d1d0e28013fa590e0ada57a19e0e79c329f91d6f90973d3aa08c4fb10ad015358695f106d7a95b8a4893920fc6c99b07517f0bb0
DIST crafty.doc.ascii 79678 SHA256 be291c0f4c7e7d64404ec58b9e92c2455c4342d3c96c721ba21a80fce8332e83 SHA512 562698c3954e53f05c009025291bdb748baaa08616437796a08b42198057cff9f9efa7a8caf41574e71dafe60f4c132dc9497ad5ed9a83b8f071d1c31c8583b8 WHIRLPOOL 8786cafa5afd98b6878467701ff19206f220b20fd3f575f51f17a052de709d7f5572632dd56876d34a412d4628a6c4eb984ec6e6f148a3418ff16617d7670845
EBUILD crafty-23.4.ebuild 2676 SHA256 186b44d442942181d8a2de22d874420c9746774f0a211cdb93ba49eeace23848 SHA512 00398bb9264bdc8b173add3bc226947f3100161ccfe5c69ca3398581dc3783618a8a13f574611be24ad34639aabbc9044a6208171a6c1f36fee3607d5166fe29 WHIRLPOOL d689920267389de1dc3a3dccca14e26f4235a72fe60a4253e5eeb77b728af50ec50ee68100639d561f9321d2d2755c39c5635b829867cd8c3d54fda21dc4eb06
EBUILD crafty-23.8.ebuild 2541 SHA256 3b739f8f1ab96d71ec15cbf2ec4d1707406f3711400da23c455c2e1d46ae6cb9 SHA512 c9566ace3974f32873c55a781bf3b245122cbf521b1db2772ef9838a65848890de2c7dd4a47ee928b85e8578a3eba0556c872776e957960ca40da3d182d45ab5 WHIRLPOOL 770e1daadc8cbd18e5026855ff702195d0ec0c37fbd31e356136fdc78083c7405bd5d549a149eb4fe90f9cff3286893a043575fec8a5418b35ee02626b6ee6f4
-MISC ChangeLog 7257 SHA256 baf3bcb29b20d3895c5e20e51f16a5d230e10fb5a4c53c8e2f776414496da6d3 SHA512 49492c1156e253ca86c9bdafcf8ef210540212b58ec705130f2fb4f951bd715c82d8db8d9750a664d42113c625adc38cc54864f809e0a76383293ac817659286 WHIRLPOOL 82a20e5473242be122921c2d46caee10ad175a5a6ca2ff67b2877cce794041613040d6aef0732b0508956679b869d5fb520e7a923032142bee7081e89754be69
+EBUILD crafty-24.0.ebuild 2540 SHA256 0a9905833d6a8950172b201362f4b47b3192d1417a61117ed69d9366c663b3d1 SHA512 78a36230c23ea963c2540ff1b7bd3c0642d598618d5da3187580cf242a3ff0fdad059ce90bed8f4dfa17d6148fddeb3afe73db0a91f4edb8e129bc21d90808a5 WHIRLPOOL 0e6e2684e4dee0180406494ab485b778b6db2f80515c4910aff22c19ca29a184b0e9c3aa49a27232dbd8b06edeade81a7935f1e7411201fd5bb095a6442cdac8
+MISC ChangeLog 7377 SHA256 19ef629d635fd2844f0c22b73252a0d5687fde1ddc53832c7ee768c256251950 SHA512 8b7e2e74b6f257166344bb88e08c90f76332d7b9278fc05c34ff713e13152c8210991d5339f7034564e55c8bf92307658903ad98a1d991f42b24ab4e8194d53f WHIRLPOOL a5fd5f09d5b51177d958847b7746674f50e7cf82a55d60c1e14e7917b9c092a3d4bd4348dd7558bbc8e1d710db9b9195f027e6899bf292782f166c9911ceafdc
MISC metadata.xml 249 SHA256 49f221ca292eb58886695b31631b28f38321f3fd6dfd265bba9991b093d68dec SHA512 eb748485c491ffc953879496bfd0170b091a7c7653eb19fe2317d439b51bc0b5e6cc89d2b81778e8a8468e04a0b4914159fc8ed5c54d956fcaedf20adfe43a7c WHIRLPOOL 745bf5f9fb3b7458b7744fbb7a0392f9eebb9b08976e9d0252f409540a800110428ea470d6475c12c4375f5c8bab5c342de7854431ac8b67e2401b24caa13cf5
diff --git a/games-board/crafty/crafty-24.0.ebuild b/games-board/crafty/crafty-24.0.ebuild
new file mode 100644
index 000000000000..cf95aac0a281
--- /dev/null
+++ b/games-board/crafty/crafty-24.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-24.0.ebuild,v 1.1 2014/09/12 08:03:30 mr_bones_ Exp $
+
+EAPI=5
+inherit flag-o-matic toolchain-funcs eutils games
+
+DESCRIPTION="Bob Hyatt's strong chess engine"
+HOMEPAGE="http://www.craftychess.com/"
+SRC_URI="http://www.craftychess.com/${P}.zip
+ http://www.cis.uab.edu/hyatt/crafty/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_prepare() {
+ sed -i \
+ -e '/-o crafty/s/CC/CXX/' \
+ -e 's:CXFLAGS:CXXFLAGS:g' \
+ Makefile || die
+ sed -i \
+ -e "s:\"crafty.hlp\":\"${GAMES_DATADIR}/${PN}/crafty.hlp\":" option.c || die
+}
+
+src_compile() {
+ local makeopts="target=UNIX"
+
+ if ! use no-opts ; then
+ if [[ $(tc-getCC) = icc ]] ; then
+ makeopts="${makeopts} 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
+ 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
+ else
+ : # everything else :)
+ fi
+ fi
+ fi
+ append-flags -DPOSIX -DSKILL
+ emake ${makeopts} crafty-make LDFLAGS="${LDFLAGS} -pthread"
+}
+
+src_install() {
+ dogamesbin crafty
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins crafty.hlp
+ 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
+}