/[gentoo-x86]/app-emacs/chess/chess-2.0_beta6.ebuild
Gentoo

Contents of /app-emacs/chess/chess-2.0_beta6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon May 12 16:41:23 2008 UTC (10 years, 1 month ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old.
(Portage version: 2.1.5_rc10)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0_beta6.ebuild,v 1.5 2007/10/26 17:29:32 nixnut Exp $
4
5 inherit elisp eutils
6
7 DESCRIPTION="A chess client and library for Emacs"
8 HOMEPAGE="http://emacs-chess.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/emacs-chess/${P/_beta/b}.tar.gz
10 mirror://gentoo/emacs-chess-sounds-2.0.tar.bz2
11 mirror://gentoo/emacs-chess-pieces-2.0.tar.bz2"
12
13 LICENSE="GPL-2 FDL-1.1"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND="games-board/gnuchess"
20
21 S="${WORKDIR}/${PN}"
22
23 SITEFILE=51${PN}-gentoo.el
24 DOCS="ChangeLog EPD.txt PGN.txt PLAN README TODO"
25
26 src_unpack() {
27 unpack ${A}
28 cd "${S}"
29 epatch "${FILESDIR}/${PV}-chess-pos-move-gentoo.patch"
30 }
31
32 # this is needed; elisp.eclass redefines src_compile() from portage default
33 src_compile() {
34 emake || die "emake failed"
35 }
36
37 src_install() {
38 elisp_src_install
39
40 doinfo chess.info
41 einfo "Installing sound files ..."
42 insinto /usr/share/sounds/${PN}
43 doins "${WORKDIR}"/sounds/*
44 einfo "Installing pixmap files ..."
45 insinto /usr/share/pixmaps/${PN}
46 doins -r "${WORKDIR}"/pieces/*
47 }

  ViewVC Help
Powered by ViewVC 1.1.20