diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2007-12-26 11:12:05 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2007-12-26 11:12:05 +0000 |
commit | dab70feea9ed5f02b43580d2059abdba41ad0a89 (patch) | |
tree | 26a4fe97d65f9db7d185066e3ffbd8a5d7a1206c /games-board | |
parent | x86 stable, bug #201306 (diff) | |
download | historical-dab70feea9ed5f02b43580d2059abdba41ad0a89.tar.gz historical-dab70feea9ed5f02b43580d2059abdba41ad0a89.tar.bz2 historical-dab70feea9ed5f02b43580d2059abdba41ad0a89.zip |
Adding some documentation
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/crafty/ChangeLog | 7 | ||||
-rw-r--r-- | games-board/crafty/Manifest | 26 | ||||
-rw-r--r-- | games-board/crafty/crafty-21.6-r1.ebuild | 89 | ||||
-rw-r--r-- | games-board/crafty/files/digest-crafty-21.6-r1 | 6 |
4 files changed, 123 insertions, 5 deletions
diff --git a/games-board/crafty/ChangeLog b/games-board/crafty/ChangeLog index b86a1b08dcd2..6f4b862260b0 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.23 2007/12/09 10:25:17 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.24 2007/12/26 11:12:04 tupone Exp $ + +*crafty-21.6-r1 (26 Dec 2007) + + 26 Dec 2007; Tupone Alfredo <tupone@gentoo.org> +crafty-21.6-r1.ebuild: + Adding some documentation. 09 Dec 2007; <atupone@gentoo.org> crafty-21.6.ebuild: Fix problem on x86_64 platform. diff --git a/games-board/crafty/Manifest b/games-board/crafty/Manifest index e15fdedcfd9d..9fc564fe44a9 100644 --- a/games-board/crafty/Manifest +++ b/games-board/crafty/Manifest @@ -1,6 +1,10 @@ +-----BEGIN PGP SIGNED MESSAGE----- +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 +DIST crafty.doc.ascii 79678 RMD160 f0c8304efcaa93a14a37da96d22bb25cda8d1bf5 SHA1 99bb27b39ddd4bd3db8078e128eadfcde1c3b64b SHA256 be291c0f4c7e7d64404ec58b9e92c2455c4342d3c96c721ba21a80fce8332e83 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 @@ -9,14 +13,18 @@ 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 +EBUILD crafty-21.6-r1.ebuild 2712 RMD160 8818242c9e35377d1b7f29804e71af5ae48bd008 SHA1 4fa0b9194fcc5c0d0a439f828bf405ad049ec92b SHA256 48271e185bb734d758585118b8e6a4c91ee94b51827fd6fe0ca9503a2facbc68 +MD5 68138b39e36e3b2b16a5f8f0f59ff8ed crafty-21.6-r1.ebuild 2712 +RMD160 8818242c9e35377d1b7f29804e71af5ae48bd008 crafty-21.6-r1.ebuild 2712 +SHA256 48271e185bb734d758585118b8e6a4c91ee94b51827fd6fe0ca9503a2facbc68 crafty-21.6-r1.ebuild 2712 EBUILD crafty-21.6.ebuild 2609 RMD160 095edb00a2005268cad04f6c65b05086286231d5 SHA1 e963484c189628851519831501d449852cc9d6fb SHA256 5171a15bd6d6d356febdbb9db551f35b85e2fc3a7ae76d70d7d6888ada8477c9 MD5 d06b6536252f51d6c4054d12871303ac crafty-21.6.ebuild 2609 RMD160 095edb00a2005268cad04f6c65b05086286231d5 crafty-21.6.ebuild 2609 SHA256 5171a15bd6d6d356febdbb9db551f35b85e2fc3a7ae76d70d7d6888ada8477c9 crafty-21.6.ebuild 2609 -MISC ChangeLog 3457 RMD160 9c75604058d0baca08929044899db2b18b4119e6 SHA1 36872e1c23d2254d5fcbe727af2df775223c5d77 SHA256 8ce650376b327b05cae3ef2faf4f3102ec01c46aa58c20e58eaff7c5ec78b214 -MD5 777df9a677ab7d01053e9f3cb3875035 ChangeLog 3457 -RMD160 9c75604058d0baca08929044899db2b18b4119e6 ChangeLog 3457 -SHA256 8ce650376b327b05cae3ef2faf4f3102ec01c46aa58c20e58eaff7c5ec78b214 ChangeLog 3457 +MISC ChangeLog 3592 RMD160 7307477efc3e673db39a234f6ffa76ce7ed2529e SHA1 bae73fb83165fe789454467bea2531bd598f5eae SHA256 40c6d4fce242509ae0297a17d67b4e3fe8c95cec93cb402b301d7fc188fdf97d +MD5 95b9ec9a8c881072c70d64034edc794d ChangeLog 3592 +RMD160 7307477efc3e673db39a234f6ffa76ce7ed2529e ChangeLog 3592 +SHA256 40c6d4fce242509ae0297a17d67b4e3fe8c95cec93cb402b301d7fc188fdf97d ChangeLog 3592 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -30,3 +38,13 @@ SHA256 60eb692ad89bf508b88799539e1f8c6a664e56d6f0485510af98f5dd4c80a2fb files/di MD5 35dde69bda71cf2496d3109b4c89f274 files/digest-crafty-21.6 226 RMD160 9ac75bda894e494d55aa84165a8c3217cc48e49c files/digest-crafty-21.6 226 SHA256 7dd86fa9bc00121b5c5f33815d08b539c15bd79ed41d92246094fd1393dfbb4e files/digest-crafty-21.6 226 +MD5 e7b6e20ceaf576d157185b3ef9f2e563 files/digest-crafty-21.6-r1 452 +RMD160 c2895c63f46d2d41e849b4f95fd10aeaa5ccac9f files/digest-crafty-21.6-r1 452 +SHA256 3795244c9b230bf7cf99cbda139f8d993f1d6b0e0561d07407833e397923ac96 files/digest-crafty-21.6-r1 452 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHcjcQ8qKy9+b2Hl0RAhbtAKCRnjNM0ziYXi6HzaOdf+Fqr+aiwQCg12ZO +axpmvGscBAXMAaApB7N4XHA= +=9fyV +-----END PGP SIGNATURE----- diff --git a/games-board/crafty/crafty-21.6-r1.ebuild b/games-board/crafty/crafty-21.6-r1.ebuild new file mode 100644 index 000000000000..887b8fd3131b --- /dev/null +++ b/games-board/crafty/crafty-21.6-r1.ebuild @@ -0,0 +1,89 @@ +# 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-r1.ebuild,v 1.1 2007/12/26 11:12:04 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 +} diff --git a/games-board/crafty/files/digest-crafty-21.6-r1 b/games-board/crafty/files/digest-crafty-21.6-r1 new file mode 100644 index 000000000000..8366cddce0e0 --- /dev/null +++ b/games-board/crafty/files/digest-crafty-21.6-r1 @@ -0,0 +1,6 @@ +MD5 3ba77a663e85e180c7d95fda1722449f crafty-21.6.zip 423100 +RMD160 d8fd129967638cbe614e7d3a90e9a4f53db93024 crafty-21.6.zip 423100 +SHA256 be5ec37938f7b741e5f3bded193fb6e30e0cb69f910202b7cc01f01846b42b56 crafty-21.6.zip 423100 +MD5 5fd73027a1de1674763562e1987197ba crafty.doc.ascii 79678 +RMD160 f0c8304efcaa93a14a37da96d22bb25cda8d1bf5 crafty.doc.ascii 79678 +SHA256 be291c0f4c7e7d64404ec58b9e92c2455c4342d3c96c721ba21a80fce8332e83 crafty.doc.ascii 79678 |