diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-03-16 08:57:38 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-03-16 08:57:38 +0000 |
commit | 50a8bc9acc0ca3df207d08527f6ac9782cd919fd (patch) | |
tree | afb809fbfa928dc5f4b684e54fede1fc2110275b /games-board/crafty | |
parent | Update PyPy flag descriptions. (diff) | |
download | historical-50a8bc9acc0ca3df207d08527f6ac9782cd919fd.tar.gz historical-50a8bc9acc0ca3df207d08527f6ac9782cd919fd.tar.bz2 historical-50a8bc9acc0ca3df207d08527f6ac9782cd919fd.zip |
version bump (bug #501884)
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'games-board/crafty')
-rw-r--r-- | games-board/crafty/ChangeLog | 9 | ||||
-rw-r--r-- | games-board/crafty/Manifest | 14 | ||||
-rw-r--r-- | games-board/crafty/crafty-23.8.ebuild | 84 |
3 files changed, 94 insertions, 13 deletions
diff --git a/games-board/crafty/ChangeLog b/games-board/crafty/ChangeLog index 1acb4fff91fa..c199f9966525 100644 --- a/games-board/crafty/ChangeLog +++ b/games-board/crafty/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-board/crafty -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.55 2013/04/07 21:21:53 tupone Exp $ +# 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 $ + +*crafty-23.8 (16 Mar 2014) + + 16 Mar 2014; Michael Sterrett <mr_bones_@gentoo.org> +crafty-23.8.ebuild: + version bump (bug #501884) 07 Apr 2013; Alfredo Tupone <tupone@gentoo.org> crafty-23.4.ebuild, +files/crafty-23.4-64bits.patch: diff --git a/games-board/crafty/Manifest b/games-board/crafty/Manifest index f6120d1eb741..59b1a2e78a31 100644 --- a/games-board/crafty/Manifest +++ b/games-board/crafty/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - 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.doc.ascii 79678 SHA256 be291c0f4c7e7d64404ec58b9e92c2455c4342d3c96c721ba21a80fce8332e83 SHA512 562698c3954e53f05c009025291bdb748baaa08616437796a08b42198057cff9f9efa7a8caf41574e71dafe60f4c132dc9497ad5ed9a83b8f071d1c31c8583b8 WHIRLPOOL 8786cafa5afd98b6878467701ff19206f220b20fd3f575f51f17a052de709d7f5572632dd56876d34a412d4628a6c4eb984ec6e6f148a3418ff16617d7670845 EBUILD crafty-23.4.ebuild 2676 SHA256 186b44d442942181d8a2de22d874420c9746774f0a211cdb93ba49eeace23848 SHA512 00398bb9264bdc8b173add3bc226947f3100161ccfe5c69ca3398581dc3783618a8a13f574611be24ad34639aabbc9044a6208171a6c1f36fee3607d5166fe29 WHIRLPOOL d689920267389de1dc3a3dccca14e26f4235a72fe60a4253e5eeb77b728af50ec50ee68100639d561f9321d2d2755c39c5635b829867cd8c3d54fda21dc4eb06 -MISC ChangeLog 7120 SHA256 186a7e89e703197f1e9be208391fef3d927ebfb23dc33f8969841df1ca02dc71 SHA512 23f3e10495e1fde0d9101597a6bc37f34fa089a2b087caa949c4529f03cb90ccf9437b04eff021d90d5f588ee079b9556c567125084355821fe2656df32cd115 WHIRLPOOL b9be96dc8045665376082e155fd807fdc55cc33e037ffd7e4415ffb8ba04628778bc98ae35605369b546c6c11ceba727d9921b9ba6c34103015d3f40eee05496 +EBUILD crafty-23.8.ebuild 2541 SHA256 3b739f8f1ab96d71ec15cbf2ec4d1707406f3711400da23c455c2e1d46ae6cb9 SHA512 c9566ace3974f32873c55a781bf3b245122cbf521b1db2772ef9838a65848890de2c7dd4a47ee928b85e8578a3eba0556c872776e957960ca40da3d182d45ab5 WHIRLPOOL 770e1daadc8cbd18e5026855ff702195d0ec0c37fbd31e356136fdc78083c7405bd5d549a149eb4fe90f9cff3286893a043575fec8a5418b35ee02626b6ee6f4 +MISC ChangeLog 7257 SHA256 baf3bcb29b20d3895c5e20e51f16a5d230e10fb5a4c53c8e2f776414496da6d3 SHA512 49492c1156e253ca86c9bdafcf8ef210540212b58ec705130f2fb4f951bd715c82d8db8d9750a664d42113c625adc38cc54864f809e0a76383293ac817659286 WHIRLPOOL 82a20e5473242be122921c2d46caee10ad175a5a6ca2ff67b2877cce794041613040d6aef0732b0508956679b869d5fb520e7a923032142bee7081e89754be69 MISC metadata.xml 249 SHA256 49f221ca292eb58886695b31631b28f38321f3fd6dfd265bba9991b093d68dec SHA512 eb748485c491ffc953879496bfd0170b091a7c7653eb19fe2317d439b51bc0b5e6cc89d2b81778e8a8468e04a0b4914159fc8ed5c54d956fcaedf20adfe43a7c WHIRLPOOL 745bf5f9fb3b7458b7744fbb7a0392f9eebb9b08976e9d0252f409540a800110428ea470d6475c12c4375f5c8bab5c342de7854431ac8b67e2401b24caa13cf5 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAlFh43gACgkQIY77eQFFFC0W0gCgl4sqmNURz1+oNZoyeXxVEH3C -jnAAnjk1bGpUYRIHpkjt4+wf5tpJONOh -=1kde ------END PGP SIGNATURE----- diff --git a/games-board/crafty/crafty-23.8.ebuild b/games-board/crafty/crafty-23.8.ebuild new file mode 100644 index 000000000000..4db7a05377dd --- /dev/null +++ b/games-board/crafty/crafty-23.8.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-23.8.ebuild,v 1.1 2014/03/16 08:57:32 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=LINUX" + + 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 +} |