diff options
Diffstat (limited to 'games-board/crafty')
-rw-r--r-- | games-board/crafty/ChangeLog | 7 | ||||
-rw-r--r-- | games-board/crafty/Manifest | 24 | ||||
-rw-r--r-- | games-board/crafty/crafty-21.6.ebuild | 81 | ||||
-rw-r--r-- | games-board/crafty/files/digest-crafty-21.6 | 3 |
4 files changed, 106 insertions, 9 deletions
diff --git a/games-board/crafty/ChangeLog b/games-board/crafty/ChangeLog index 8229f6d9217c..a9a75aabb864 100644 --- a/games-board/crafty/ChangeLog +++ b/games-board/crafty/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-board/crafty # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.21 2007/03/12 13:44:57 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.22 2007/12/07 22:33:56 tupone Exp $ + +*crafty-21.6 (07 Dec 2007) + + 07 Dec 2007; Tupone Alfredo <tupone@gentoo.org> +crafty-21.6.ebuild: + Version bump. Bug #197935 by Christos Gitsis 12 Mar 2007; Marius Mauch <genone@gentoo.org> crafty-20.13.ebuild, crafty-20.14.ebuild: diff --git a/games-board/crafty/Manifest b/games-board/crafty/Manifest index a4485ffe8adf..ba7fee2f4506 100644 --- a/games-board/crafty/Manifest +++ b/games-board/crafty/Manifest @@ -3,6 +3,7 @@ Hash: SHA1 DIST crafty-20.13.zip 422053 RMD160 65ae1a196376c697cd028ab818d5f2975682193c SHA1 4b9bd7d1f6098cfdbc2a7b5d854b5b1d37184bc9 SHA256 b80bbb7c72f8adb7dacf284eefd7e4dafdc2683eaf8d5255fc04c09a5b54de28 DIST crafty-20.14.zip 422894 RMD160 a68e46b1d68ffa77c477d707e4003737c786e11f SHA1 5dbcbb9a6a3fc7fa8e8e874fc7cb39839fbe428a SHA256 9e4b90bde9c156ad537d6228c678d39dcaf790a0603125ab37ed48fb4662a01a +DIST crafty-21.6.zip 423100 RMD160 d8fd129967638cbe614e7d3a90e9a4f53db93024 SHA1 330aa20db9b390d6b2802266daf557180059ada6 SHA256 be5ec37938f7b741e5f3bded193fb6e30e0cb69f910202b7cc01f01846b42b56 EBUILD crafty-20.13.ebuild 2290 RMD160 ac1d8ea55da60fea9eea0804b5ae4adf317bb5c0 SHA1 949e7b3b95721f62bf1cee1674b6299c8c035196 SHA256 eae9fe1e48423af70cb60c4fe00563e5031f4e93ecc40715509eede1d7c9a87d MD5 1e9f67ed51484f5b90d7c789a05bdbab crafty-20.13.ebuild 2290 RMD160 ac1d8ea55da60fea9eea0804b5ae4adf317bb5c0 crafty-20.13.ebuild 2290 @@ -11,10 +12,14 @@ EBUILD crafty-20.14.ebuild 2319 RMD160 9631a70bd2b4d486d0709a6bd6fa062e73d9586c MD5 fcb4080c86846877184531d7655447eb crafty-20.14.ebuild 2319 RMD160 9631a70bd2b4d486d0709a6bd6fa062e73d9586c crafty-20.14.ebuild 2319 SHA256 ece86f0e7754801b3a8fa94c02d6332a96d4a66de33f524cbb3c0686aaf42940 crafty-20.14.ebuild 2319 -MISC ChangeLog 3168 RMD160 4e21a47fa77287aea64058fa1f371e764ceebcb6 SHA1 1513ae0bf2cd298e35216aedbafed13531716ccc SHA256 a91eba4b37fd13337d1469528d397664f97e39b0e731732fe2b8db07095ecf74 -MD5 851733f48515ecc8930cbbf4589102fb ChangeLog 3168 -RMD160 4e21a47fa77287aea64058fa1f371e764ceebcb6 ChangeLog 3168 -SHA256 a91eba4b37fd13337d1469528d397664f97e39b0e731732fe2b8db07095ecf74 ChangeLog 3168 +EBUILD crafty-21.6.ebuild 2340 RMD160 f88009468c423b4ec02615a1eebb66d1dee37a13 SHA1 a08fd10c06d10b082ca4b7ad81cd26dca5c15658 SHA256 d34caf3508e391dd85c3d42f1a811b1d423278f9b4278aa65ea6ae43d652dda9 +MD5 f1ce9be0b211fed62729f14b4cba27eb crafty-21.6.ebuild 2340 +RMD160 f88009468c423b4ec02615a1eebb66d1dee37a13 crafty-21.6.ebuild 2340 +SHA256 d34caf3508e391dd85c3d42f1a811b1d423278f9b4278aa65ea6ae43d652dda9 crafty-21.6.ebuild 2340 +MISC ChangeLog 3315 RMD160 4def13b94d63970423499e4be2cd676f5faf248e SHA1 e38fcc1502a312e767a9a8c75a012052bfa45e2b SHA256 b1c09be86ce60e058423b016c7d3b75aaad28bd50d080592e2406c59c98ceb7b +MD5 f08b0b4be48a1da7eaea27d8f7bec616 ChangeLog 3315 +RMD160 4def13b94d63970423499e4be2cd676f5faf248e ChangeLog 3315 +SHA256 b1c09be86ce60e058423b016c7d3b75aaad28bd50d080592e2406c59c98ceb7b ChangeLog 3315 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -25,10 +30,13 @@ SHA256 d215e18348dc11adca36b03e430270848f84b3f70365c9c13466f4964e3c8e9e files/di MD5 bdaa468555adc2d3e1af306a5fc057a7 files/digest-crafty-20.14 229 RMD160 1dbc75d2cde5dda0f5a3fbd7b7517eb87f72092f files/digest-crafty-20.14 229 SHA256 60eb692ad89bf508b88799539e1f8c6a664e56d6f0485510af98f5dd4c80a2fb files/digest-crafty-20.14 229 +MD5 35dde69bda71cf2496d3109b4c89f274 files/digest-crafty-21.6 226 +RMD160 9ac75bda894e494d55aa84165a8c3217cc48e49c files/digest-crafty-21.6 226 +SHA256 7dd86fa9bc00121b5c5f33815d08b539c15bd79ed41d92246094fd1393dfbb4e files/digest-crafty-21.6 226 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) +Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFF9Vpd6J2i8a8J4okRAhRmAJ0TxorkxtS5XYneJEACETzDGMxXUgCgp5cb -WI0RJ7Y9Q2wSo3As5gwS9c0= -=SDsW +iD8DBQFHWcpa8qKy9+b2Hl0RAm8zAKDRfv24+vhwfG/fOcTVSegmiObLggCfaLn4 +ZPA/VTkQdmtlrOTpJCf/7b4= +=r/DF -----END PGP SIGNATURE----- diff --git a/games-board/crafty/crafty-21.6.ebuild b/games-board/crafty/crafty-21.6.ebuild new file mode 100644 index 000000000000..f2dc99276ac6 --- /dev/null +++ b/games-board/crafty/crafty-21.6.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-21.6.ebuild,v 1.1 2007/12/07 22:33:56 tupone 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/' \ + -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 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 -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 + 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 +} diff --git a/games-board/crafty/files/digest-crafty-21.6 b/games-board/crafty/files/digest-crafty-21.6 new file mode 100644 index 000000000000..cb8c49934c9a --- /dev/null +++ b/games-board/crafty/files/digest-crafty-21.6 @@ -0,0 +1,3 @@ +MD5 3ba77a663e85e180c7d95fda1722449f crafty-21.6.zip 423100 +RMD160 d8fd129967638cbe614e7d3a90e9a4f53db93024 crafty-21.6.zip 423100 +SHA256 be5ec37938f7b741e5f3bded193fb6e30e0cb69f910202b7cc01f01846b42b56 crafty-21.6.zip 423100 |