1 |
# Copyright 1999-2003 Gentoo Technologies, Inc. |
2 |
# Distributed under the terms of the GNU General Public License, v2 or later |
3 |
# $Header: /home/cvsroot/gentoo-x86/app-emacs/erc/erc-3.0.ebuild,v 1.2 2003/02/13 07:05:34 vapier Exp $ |
4 |
|
5 |
inherit elisp |
6 |
|
7 |
IUSE="" |
8 |
|
9 |
DESCRIPTION="ERC - The Emacs IRC Client" |
10 |
SRC_URI="http://erc.sf.net/${P/_rc/-rc}.tar.gz" |
11 |
HOMEPAGE="http://emacswiki.org/cgi-bin/wiki.pl?EmacsIRCClient" |
12 |
|
13 |
DEPEND="virtual/emacs" |
14 |
|
15 |
SLOT="0" |
16 |
LICENSE="GPL-2" |
17 |
KEYWORDS="x86" |
18 |
|
19 |
S=${WORKDIR}/${PN}* |
20 |
|
21 |
src_compile() { |
22 |
make || die |
23 |
} |
24 |
|
25 |
src_install() { |
26 |
elisp-install ${PN} *.el *.elc |
27 |
elisp-site-file-install ${FILESDIR}/50erc-gentoo.el |
28 |
dodoc AUTHORS CREDITS HISTORY ChangeLog servers.pl README |
29 |
} |
30 |
|
31 |
pkg_postinst() { |
32 |
elisp-site-regen |
33 |
} |
34 |
|
35 |
pkg_postrm() { |
36 |
elisp-site-regen |
37 |
} |