summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-03-04 18:21:53 +0000
committerSebastian Pipping <sping@gentoo.org>2012-03-04 18:21:53 +0000
commitecd9e56e07b7ebce2567db5dc4794173b1b1d6e4 (patch)
treef0385a9eff3d9333ceaaa93a4007dda82a410538 /games-board/gnuchess-book
parentMake linux-info output easy to interpret, bug #335510 (diff)
downloadgentoo-2-ecd9e56e07b7ebce2567db5dc4794173b1b1d6e4.tar.gz
gentoo-2-ecd9e56e07b7ebce2567db5dc4794173b1b1d6e4.tar.bz2
gentoo-2-ecd9e56e07b7ebce2567db5dc4794173b1b1d6e4.zip
games-board/gnuchess-book: Support gnuchess 6.x
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'games-board/gnuchess-book')
-rw-r--r--games-board/gnuchess-book/ChangeLog5
-rw-r--r--games-board/gnuchess-book/gnuchess-book-1.02.ebuild10
2 files changed, 9 insertions, 6 deletions
diff --git a/games-board/gnuchess-book/ChangeLog b/games-board/gnuchess-book/ChangeLog
index 12aff62a2ba9..dc32ad6e4ea8 100644
--- a/games-board/gnuchess-book/ChangeLog
+++ b/games-board/gnuchess-book/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/gnuchess-book
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess-book/ChangeLog,v 1.11 2012/03/04 17:55:14 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess-book/ChangeLog,v 1.12 2012/03/04 18:21:53 sping Exp $
+
+ 04 Mar 2012; Sebastian Pipping <sping@gentoo.org> gnuchess-book-1.02.ebuild:
+ Migrate book 1.02 to gnuchess 6.x
04 Mar 2012; Sebastian Pipping <sping@gentoo.org> gnuchess-book-1.01.ebuild:
Book 1.01 crashes gnuchess 5.9.91/6.0.2 in contrast to book 1.02. So I adjust
diff --git a/games-board/gnuchess-book/gnuchess-book-1.02.ebuild b/games-board/gnuchess-book/gnuchess-book-1.02.ebuild
index b269cedc943c..6d41ace72bc5 100644
--- a/games-board/gnuchess-book/gnuchess-book-1.02.ebuild
+++ b/games-board/gnuchess-book/gnuchess-book-1.02.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess-book/gnuchess-book-1.02.ebuild,v 1.1 2012/03/04 17:43:21 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess-book/gnuchess-book-1.02.ebuild,v 1.2 2012/03/04 18:21:53 sping Exp $
inherit games
@@ -14,17 +14,17 @@ KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
RESTRICT="userpriv" # bug #112898
-DEPEND="games-board/gnuchess"
+DEPEND=">=games-board/gnuchess-6"
S=${WORKDIR}
src_compile() {
- echo -e "book add book_${PV}.pgn"$'\n'"quit" | "${GAMES_BINDIR}"/gnuchess \
- || die "generation failed"
+ "${GAMES_BINDIR}"/gnuchess --addbook=book_${PV}.pgn \
+ || die "generation failed"
}
src_install() {
insinto "${GAMES_DATADIR}/gnuchess"
- doins book.dat || die "doins failed"
+ doins book.bin || die "doins failed"
prepgamesdirs
}