summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-22 22:02:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-22 22:02:48 +0000
commitaa1f46695dc6720ebe89557ada6c0c41c3c5d62f (patch)
treea4fa003a308c244891d75476f89aea673f260102 /games-board
parentadd missing patch and change SRC_URI to use bz2 #42386 (diff)
downloadgentoo-2-aa1f46695dc6720ebe89557ada6c0c41c3c5d62f.tar.gz
gentoo-2-aa1f46695dc6720ebe89557ada6c0c41c3c5d62f.tar.bz2
gentoo-2-aa1f46695dc6720ebe89557ada6c0c41c3c5d62f.zip
initial ebuild #40925
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnuchess-book/ChangeLog8
-rw-r--r--games-board/gnuchess-book/files/digest-gnuchess-book-1.001
-rw-r--r--games-board/gnuchess-book/gnuchess-book-1.00.ebuild27
3 files changed, 36 insertions, 0 deletions
diff --git a/games-board/gnuchess-book/ChangeLog b/games-board/gnuchess-book/ChangeLog
new file mode 100644
index 000000000000..66b4b6407db4
--- /dev/null
+++ b/games-board/gnuchess-book/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-board/gnuchess-book
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess-book/ChangeLog,v 1.1 2004/02/22 22:02:48 vapier Exp $
+
+*gnuchess-book-1.00 (22 Feb 2004)
+
+ 22 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by andrey kartashov #40925.
diff --git a/games-board/gnuchess-book/files/digest-gnuchess-book-1.00 b/games-board/gnuchess-book/files/digest-gnuchess-book-1.00
new file mode 100644
index 000000000000..9fb4987e9cee
--- /dev/null
+++ b/games-board/gnuchess-book/files/digest-gnuchess-book-1.00
@@ -0,0 +1 @@
+MD5 b0112fbd29a505c6c41d55d6de3a9290 book_1.00.pgn.gz 26264902
diff --git a/games-board/gnuchess-book/gnuchess-book-1.00.ebuild b/games-board/gnuchess-book/gnuchess-book-1.00.ebuild
new file mode 100644
index 000000000000..58410636f60a
--- /dev/null
+++ b/games-board/gnuchess-book/gnuchess-book-1.00.ebuild
@@ -0,0 +1,27 @@
+# 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 $
+
+inherit games
+
+DESCRIPTION="Opening book for gnuchess"
+HOMEPAGE="http://www.gnu.org/software/chess/chess.html"
+SRC_URI="mirror://gnu/chess/book_${PV}.pgn.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc alpha"
+
+DEPEND="games-board/gnuchess"
+
+S=${WORKDIR}
+
+src_compile() {
+ echo -e "book add book_${PV}.pgn"$'\n'"quit" | ${GAMES_BINDIR}/gnuchess || die
+}
+
+src_install() {
+ insinto ${GAMES_DATADIR}/gnuchess
+ doins book.dat || die
+ prepgamesdirs
+}