diff options
author | Sebastian Pipping <sping@gentoo.org> | 2012-03-04 18:21:53 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2012-03-04 18:21:53 +0000 |
commit | ecd9e56e07b7ebce2567db5dc4794173b1b1d6e4 (patch) | |
tree | f0385a9eff3d9333ceaaa93a4007dda82a410538 /games-board/gnuchess-book/gnuchess-book-1.02.ebuild | |
parent | Make linux-info output easy to interpret, bug #335510 (diff) | |
download | gentoo-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/gnuchess-book-1.02.ebuild')
-rw-r--r-- | games-board/gnuchess-book/gnuchess-book-1.02.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
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 } |