You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emacs/chess/chess-2.0.4.ebuild

42 lines
1.2 KiB

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0.4.ebuild,v 1.1 2015/04/28 07:07:48 ulm Exp $
EAPI=5
NEED_EMACS=24
inherit elisp
DESCRIPTION="A chess client and library for Emacs"
HOMEPAGE="http://elpa.gnu.org/packages/chess.html
http://www.emacswiki.org/emacs/ChessMode"
# Taken from http://elpa.gnu.org/packages/${P}.tar
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz
mirror://gentoo/emacs-chess-sounds-${PV%.*}.tar.bz2
mirror://gentoo/emacs-chess-pieces-${PV%.*}.tar.bz2"
LICENSE="GPL-3+ FDL-1.3+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
# Free alternatives first, otherwise follow the ordering in the upstream
# chess-default-engine (in chess.el). Rearrange chess-default-engine in
# the site-init file accordingly.
RDEPEND="|| ( games-board/stockfish
games-board/fruit
games-board/gnuchess
games-board/phalanx
games-board/sjeng
games-board/crafty )"
DOCS="AUTHORS NEWS TODO"
SITEFILE="50${PN}-gentoo-${PV}.el"
src_install() {
elisp_src_install
doinfo chess.info
insinto "${SITEETC}/${PN}"
doins chess-eco.fen chess-polyglot.bin
doins -r "${WORKDIR}"/{sounds,pieces}
}