mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
games-board/gnuchess-book: gnuchess no longer uses games eclass (bug #594916)
Package-Manager: portage-2.3.0
This commit is contained in:
29
games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
Normal file
29
games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Opening book for gnuchess"
|
||||
HOMEPAGE="https://www.gnu.org/software/chess/chess.html"
|
||||
SRC_URI="mirror://gnu/chess/book_${PV}.pgn.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="userpriv" # bug #112898
|
||||
|
||||
DEPEND=">=games-board/gnuchess-6.2.3"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_compile() {
|
||||
gnuchess --addbook=book_${PV}.pgn || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/gnuchess
|
||||
doins book.bin
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -15,7 +15,7 @@ KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="userpriv" # bug #112898
|
||||
|
||||
DEPEND=">=games-board/gnuchess-6"
|
||||
DEPEND="<games-board/gnuchess-6.2.3"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
Reference in New Issue
Block a user