blob: 19eafa0c2b15b796ac078eb0685b33cd3f23f085 (
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
39
40
41
42
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gnus/gnus-5.10.8.ebuild,v 1.9 2007/04/16 08:14:32 opfer Exp $
inherit elisp
IUSE=""
DESCRIPTION="The Gnus newsreader and mail-reader"
HOMEPAGE="http://www.gnus.org/"
SRC_URI="http://quimby.gnus.org/gnus/dist/${P}.tar.gz"
LICENSE="GPL-2 FDL-1.2"
SLOT="0"
KEYWORDS="alpha amd64 ppc sparc x86"
DEPEND=""
SITEFILE=70gnus-gentoo.el
src_compile() {
local myconf
myconf="${myconf} --without-w3 --without-url"
econf \
--with-emacs \
--with-lispdir=/usr/share/emacs/site-lisp/gnus \
--with-etcdir=/usr/share/emacs/etc \
${myconf} || die "econf failed"
emake || die
}
src_install() {
einstall \
lispdir="${D}/usr/share/emacs/site-lisp/gnus" \
etcdir="${D}/usr/share/emacs/etc" \
|| die "emake install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dodoc ChangeLog GNUS-NEWS README todo
# fix info documentation
find "${D}/usr/share/info" -type f -exec mv {} {}.info \;
}
|