blob: 1152e2c310ea0620914b732c423b678c2db8b2d2 (
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
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit elisp
MY_P="erc-${PV}-extras"
DESCRIPTION="Extra modules for the Emacs IRC Client"
HOMEPAGE="http://www.emacswiki.org/emacs/ErcExtraModules"
SRC_URI="http://ftp.gnu.org/old-gnu/erc/${MY_P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bbdb chess"
DEPEND="bbdb? ( app-emacs/bbdb )
chess? ( app-emacs/chess )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo.el"
DOCS="README.extras"
src_prepare() {
use bbdb || rm erc-bbdb.el || die
use chess || rm erc-chess.el || die
# erc-speak fails byte-compilation, cannot open emacspeak
rm erc-speak.el || die
}
src_install() {
elisp_src_install
insinto "${SITEETC}/${PN}"
doins -r images
}
|