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

Contents of /app-emacs/chess/chess-2.0_beta5-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Oct 26 17:58:45 2007 UTC (10 years, 10 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old.
(Portage version: 2.1.3.16)

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_beta5-r4.ebuild,v 1.2 2007/09/24 12:57:33 ulm Exp $
4
5 NEED_EMACS=22
6
7 inherit elisp eutils
8
9 DESCRIPTION="A chess client and library for Emacs"
10 HOMEPAGE="http://emacs-chess.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/emacs-chess/${P/_beta/b}.tar.bz2
12 mirror://gentoo/emacs-chess-sounds-2.0.tar.bz2
13 mirror://gentoo/emacs-chess-pieces-2.0.tar.bz2"
14
15 LICENSE="GPL-2 FDL-1.1"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc ~x86"
18 IUSE=""
19
20 DEPEND=""
21 RDEPEND="games-board/gnuchess"
22
23 S="${WORKDIR}/${P/_beta/b}"
24
25 SITEFILE=51${PN}-gentoo.el
26 DOCS="ChangeLog EPD.txt PGN.txt PLAN README TODO"
27
28 src_unpack() {
29 unpack ${A}
30 cd "${S}"
31 epatch "${FILESDIR}/${PV}-byte-compiling-files-gentoo.patch"
32 rm -f *.elc
33 }
34
35 # this is needed; elisp.eclass redefines src_compile() from portage default
36 src_compile() {
37 emake || die "emake failed"
38 }
39
40 src_install() {
41 elisp_src_install
42
43 doinfo chess.info
44 einfo "Installing sound files ..."
45 insinto /usr/share/sounds/${PN}
46 doins "${WORKDIR}"/sounds/*
47 einfo "Installing pixmap files ..."
48 insinto /usr/share/pixmaps/${PN}
49 doins -r "${WORKDIR}"/pieces/*
50 }

  ViewVC Help
Powered by ViewVC 1.1.20