29 lines
566 B
Bash
29 lines
566 B
Bash
# Copyright 1999-2015 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 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
|
|
}
|