summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-03-04 17:43:21 +0000
committerSebastian Pipping <sping@gentoo.org>2012-03-04 17:43:21 +0000
commit2a3e1f16e3062aad60c3f93a9fe29ef41dce6f65 (patch)
treea9dc38f82e7aeeb39a0f6a4585c3befd7879963c /games-board/gnuchess-book
parentversion bump (diff)
downloadgentoo-2-2a3e1f16e3062aad60c3f93a9fe29ef41dce6f65.tar.gz
gentoo-2-2a3e1f16e3062aad60c3f93a9fe29ef41dce6f65.tar.bz2
gentoo-2-2a3e1f16e3062aad60c3f93a9fe29ef41dce6f65.zip
games-board/gnuchess-book: 1.02
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'games-board/gnuchess-book')
-rw-r--r--games-board/gnuchess-book/ChangeLog9
-rw-r--r--games-board/gnuchess-book/gnuchess-book-1.02.ebuild30
2 files changed, 37 insertions, 2 deletions
diff --git a/games-board/gnuchess-book/ChangeLog b/games-board/gnuchess-book/ChangeLog
index 444a4e1a1a8b..83949f9e3d6d 100644
--- a/games-board/gnuchess-book/ChangeLog
+++ b/games-board/gnuchess-book/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/gnuchess-book
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess-book/ChangeLog,v 1.9 2007/04/13 20:12:50 welp Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess-book/ChangeLog,v 1.10 2012/03/04 17:43:21 sping Exp $
+
+*gnuchess-book-1.02 (04 Mar 2012)
+
+ 04 Mar 2012; Sebastian Pipping <sping@gentoo.org> +gnuchess-book-1.02.ebuild:
+ Bump to 1.02
13 Apr 2007; <welp@gentoo.org> gnuchess-book-1.01.ebuild:
Stable on amd64 wrt bug 174415
diff --git a/games-board/gnuchess-book/gnuchess-book-1.02.ebuild b/games-board/gnuchess-book/gnuchess-book-1.02.ebuild
new file mode 100644
index 000000000000..b269cedc943c
--- /dev/null
+++ b/games-board/gnuchess-book/gnuchess-book-1.02.ebuild
@@ -0,0 +1,30 @@
+# 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 $
+
+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="~alpha ~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+RESTRICT="userpriv" # bug #112898
+
+DEPEND="games-board/gnuchess"
+
+S=${WORKDIR}
+
+src_compile() {
+ 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 "doins failed"
+ prepgamesdirs
+}