diff options
Diffstat (limited to 'games-board/gnuchess-book/gnuchess-book-1.00.ebuild')
-rw-r--r-- | games-board/gnuchess-book/gnuchess-book-1.00.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/games-board/gnuchess-book/gnuchess-book-1.00.ebuild b/games-board/gnuchess-book/gnuchess-book-1.00.ebuild index 58410636f60a..99eadb12b3c8 100644 --- a/games-board/gnuchess-book/gnuchess-book-1.00.ebuild +++ b/games-board/gnuchess-book/gnuchess-book-1.00.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess-book/gnuchess-book-1.00.ebuild,v 1.1 2004/02/22 22:02:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess-book/gnuchess-book-1.00.ebuild,v 1.2 2004/05/02 01:58:56 mr_bones_ Exp $ inherit games @@ -11,17 +11,19 @@ SRC_URI="mirror://gnu/chess/book_${PV}.pgn.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc alpha" +IUSE="" DEPEND="games-board/gnuchess" -S=${WORKDIR} +S="${WORKDIR}" src_compile() { - echo -e "book add book_${PV}.pgn"$'\n'"quit" | ${GAMES_BINDIR}/gnuchess || die + echo -e "book add book_${PV}.pgn"$'\n'"quit" | ${GAMES_BINDIR}/gnuchess \ + || die "generation failed" } src_install() { - insinto ${GAMES_DATADIR}/gnuchess - doins book.dat || die + insinto "${GAMES_DATADIR}/gnuchess" + doins book.dat || die "doins failed" prepgamesdirs } |