1 |
mr_bones_ 09/05/11 16:11:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: crafty-23.0.ebuild |
5 |
Log: |
6 |
version bump (bug #269358) |
7 |
(Portage version: 2.1.6.11/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.34 games-board/crafty/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/crafty/ChangeLog?rev=1.34&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/crafty/ChangeLog?rev=1.34&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/crafty/ChangeLog?r1=1.33&r2=1.34 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v |
19 |
retrieving revision 1.33 |
20 |
retrieving revision 1.34 |
21 |
diff -u -r1.33 -r1.34 |
22 |
--- ChangeLog 30 Jan 2009 06:40:38 -0000 1.33 |
23 |
+++ ChangeLog 11 May 2009 16:11:51 -0000 1.34 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for games-board/crafty |
26 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.33 2009/01/30 06:40:38 mr_bones_ Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/ChangeLog,v 1.34 2009/05/11 16:11:51 mr_bones_ Exp $ |
29 |
+ |
30 |
+*crafty-23.0 (11 May 2009) |
31 |
+ |
32 |
+ 11 May 2009; Michael Sterrett <mr_bones_@g.o> +crafty-23.0.ebuild: |
33 |
+ version bump (bug #269358) |
34 |
|
35 |
*crafty-22.9 (30 Jan 2009) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 games-board/crafty/crafty-23.0.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/crafty/crafty-23.0.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/crafty/crafty-23.0.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: crafty-23.0.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-23.0.ebuild,v 1.1 2009/05/11 16:11:51 mr_bones_ Exp $ |
50 |
|
51 |
EAPI=2 |
52 |
inherit flag-o-matic toolchain-funcs games |
53 |
|
54 |
DESCRIPTION="Bob Hyatt's strong chess engine" |
55 |
HOMEPAGE="ftp://ftp.cis.uab.edu/pub/hyatt/" |
56 |
SRC_URI="ftp://ftp.cis.uab.edu/pub/hyatt/source/${P}.zip |
57 |
ftp://ftp.cis.uab.edu/pub/hyatt/documentation/${PN}.doc.ascii" |
58 |
|
59 |
LICENSE="crafty" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ppc ~x86" |
62 |
IUSE="no-opts" |
63 |
RESTRICT="test" |
64 |
|
65 |
RDEPEND="" |
66 |
DEPEND="${RDEPEND} |
67 |
app-arch/unzip" |
68 |
|
69 |
src_prepare() { |
70 |
sed -i \ |
71 |
-e '/-o crafty/s/CC/CXX/' \ |
72 |
-e 's:CXFLAGS:CXXFLAGS:g' \ |
73 |
Makefile \ |
74 |
|| die "sed failed" |
75 |
sed -i \ |
76 |
-e "s:\"crafty.hlp\":\"${GAMES_DATADIR}/${PN}/crafty.hlp\":" option.c \ |
77 |
|| die "sed failed" |
78 |
} |
79 |
|
80 |
src_compile() { |
81 |
local makeopts="target=LINUX" |
82 |
|
83 |
if ! use no-opts ; then |
84 |
if [[ $(tc-getCC) = icc ]] ; then |
85 |
makeopts="${makeopts} asm=X86.o" |
86 |
append-flags -D_REENTRANT -tpp6 \ |
87 |
-DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ |
88 |
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST \ |
89 |
-DSMP -DCPUS=4 -DCLONE -DDGT |
90 |
append-flags -O2 -fno-alias -fforce-mem \ |
91 |
-fomit-frame-pointer -fno-gcse -mpreferred-stack-boundary=2 |
92 |
else |
93 |
if [[ "${CHOST}" == "i686-pc-linux-gnu" ]] \ |
94 |
|| [[ "${CHOST}" == "i586-pc-linux-gnu" ]] ; then |
95 |
append-flags -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ |
96 |
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B \ |
97 |
-DFAST -DSMP -DCPUS=4 -DCLONE -DDGT |
98 |
append-flags -fno-gcse \ |
99 |
-fomit-frame-pointer -mpreferred-stack-boundary=2 |
100 |
elif [[ "${CHOST}" == "x86_64-pc-linux-gnu" ]] ; then |
101 |
append-flags -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ |
102 |
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B \ |
103 |
-DFAST -DSMP -DCPUS=4 -DCLONE -DDGT |
104 |
append-flags -fomit-frame-pointer |
105 |
else |
106 |
: # everything else :) |
107 |
fi |
108 |
fi |
109 |
fi |
110 |
append-flags -DPOSIX -DSKILL |
111 |
emake ${makeopts} crafty-make LDFLAGS="${LDFLAGS} -pthread" || die "build failed" |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
dogamesbin crafty || die "dogamesbin failed" |
116 |
insinto "${GAMES_DATADIR}/${PN}" |
117 |
doins crafty.hlp || die "doins failed" |
118 |
dodoc "${DISTDIR}"/crafty.doc.ascii |
119 |
prepgamesdirs |
120 |
} |
121 |
|
122 |
pkg_postinst() { |
123 |
games_pkg_postinst |
124 |
elog |
125 |
elog "Note: No books or tablebases have been installed. If you want them, just" |
126 |
elog " download them from ${HOMEPAGE}." |
127 |
elog " You will find documentation there too. In most cases you take now " |
128 |
elog " your xboard compatible application, (xboard, eboard, knights) and " |
129 |
elog " just play chess against computer opponent. Have fun." |
130 |
elog |
131 |
} |