diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2008-02-29 23:41:34 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2008-02-29 23:41:34 +0000 |
commit | 0eb15ccd54422d835b1078334961103ae59d47ef (patch) | |
tree | 5f4882ddaef224e13f89c3ed9bb2f9f699b26e46 /games-board/crafty | |
parent | Another x11-themes/*qtcurve* version bump (diff) | |
download | historical-0eb15ccd54422d835b1078334961103ae59d47ef.tar.gz historical-0eb15ccd54422d835b1078334961103ae59d47ef.tar.bz2 historical-0eb15ccd54422d835b1078334961103ae59d47ef.zip |
Version bump to 22.0 Bug #211888
Package-Manager: portage-2.1.4.4
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-22.0.ebuild | 89 |
3 files changed, 109 insertions, 3 deletions
diff --git a/games-board/crafty/ChangeLog b/games-board/crafty/ChangeLog index 6f4b862260b0..b918d75413f2 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.24 2007/12/26 11:12:04 tupone Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.25 2008/02/29 23:41:34 tupone Exp $ + +*crafty-22.0 (29 Feb 2008) + + 29 Feb 2008; Tupone Alfredo <tupone@gentoo.org> +crafty-22.0.ebuild: + Version bump to 22.0 Bug #211888 by Thomas Riedel *crafty-21.6-r1 (26 Dec 2007) diff --git a/games-board/crafty/Manifest b/games-board/crafty/Manifest index 449a4122573d..dfdcd1e0c37a 100644 --- a/games-board/crafty/Manifest +++ b/games-board/crafty/Manifest @@ -1,7 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST crafty-20.13.zip 422053 RMD160 65ae1a196376c697cd028ab818d5f2975682193c SHA1 4b9bd7d1f6098cfdbc2a7b5d854b5b1d37184bc9 SHA256 b80bbb7c72f8adb7dacf284eefd7e4dafdc2683eaf8d5255fc04c09a5b54de28 DIST crafty-21.6.zip 423100 RMD160 d8fd129967638cbe614e7d3a90e9a4f53db93024 SHA1 330aa20db9b390d6b2802266daf557180059ada6 SHA256 be5ec37938f7b741e5f3bded193fb6e30e0cb69f910202b7cc01f01846b42b56 +DIST crafty-22.0.zip 402797 RMD160 3d8d69b532cb6c72db3ffe2c9f94571a4845f77b SHA1 219e9fd344a2e1704cc6da6b6588f94cd143dfe9 SHA256 05772b0a63a07dd5dafc307bcf41df41df0212209a22907244652422bb302fa6 DIST crafty.doc.ascii 79678 RMD160 f0c8304efcaa93a14a37da96d22bb25cda8d1bf5 SHA1 99bb27b39ddd4bd3db8078e128eadfcde1c3b64b SHA256 be291c0f4c7e7d64404ec58b9e92c2455c4342d3c96c721ba21a80fce8332e83 EBUILD crafty-20.13.ebuild 2290 RMD160 ac1d8ea55da60fea9eea0804b5ae4adf317bb5c0 SHA1 949e7b3b95721f62bf1cee1674b6299c8c035196 SHA256 eae9fe1e48423af70cb60c4fe00563e5031f4e93ecc40715509eede1d7c9a87d EBUILD crafty-21.6-r1.ebuild 2712 RMD160 8818242c9e35377d1b7f29804e71af5ae48bd008 SHA1 4fa0b9194fcc5c0d0a439f828bf405ad049ec92b SHA256 48271e185bb734d758585118b8e6a4c91ee94b51827fd6fe0ca9503a2facbc68 -MISC ChangeLog 3592 RMD160 7307477efc3e673db39a234f6ffa76ce7ed2529e SHA1 bae73fb83165fe789454467bea2531bd598f5eae SHA256 40c6d4fce242509ae0297a17d67b4e3fe8c95cec93cb402b301d7fc188fdf97d +EBUILD crafty-22.0.ebuild 2709 RMD160 870cc5f9296d49333a58d0ee29a691e31d8b7fb1 SHA1 92e48e9cc5bab39eb74dd9b2bc846507b79f0baa SHA256 fa916d7d6e653a4d7144a6880f357fb96c682983020d582fdc91cb2ea6b4a59c +MISC ChangeLog 3744 RMD160 3cf867814f7ef00c070fb61bd84eb6fd775744fd SHA1 3ca9252cf122c4e8b631cf82a01f6d581daae01c SHA256 bb3c3a305ed6610733d1b95759398939f9d67b0a38ffc5b0254c16036155422b MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHyJg48qKy9+b2Hl0RAnN4AKCSQlTvCiUpzmyKcaWVF4PoCvFx3ACgjSc+ +2WolEY4EUMV78p4JYTKT7xs= +=dqZP +-----END PGP SIGNATURE----- diff --git a/games-board/crafty/crafty-22.0.ebuild b/games-board/crafty/crafty-22.0.ebuild new file mode 100644 index 000000000000..f76d3ba5dd8c --- /dev/null +++ b/games-board/crafty/crafty-22.0.ebuild @@ -0,0 +1,89 @@ +# 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.0.ebuild,v 1.1 2008/02/29 23:41:34 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 + ftp://ftp.cis.uab.edu/pub/hyatt/documentation/${PN}.doc.ascii" + +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++" + 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 +} |