summaryrefslogtreecommitdiff
blob: 9a2788aa89af9fad5f7ea0448da186fce3a4a2da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit eutils flag-o-matic games

DESCRIPTION="Console based chess interface"
HOMEPAGE="https://www.gnu.org/software/chess/chess.html"
SRC_URI="mirror://gnu/chess/${P}.tar.gz"

KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86"
LICENSE="GPL-3"
SLOT="0"
IUSE=""

src_prepare() {
	epatch "${FILESDIR}"/${P}-addbook.patch
}

src_configure() {
	strip-flags # bug #199097
	egamesconf --without-readline # bug 491088
}

src_install () {
	default
	prepgamesdirs
}