blob: 370ab328ba880f7f8132c1fb54353df58ccce571 (
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
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gnus-cvs/gnus-cvs-5.11.ebuild,v 1.12 2007/04/15 19:44:27 ulm Exp $
ECVS_SERVER="cvs.gnus.org:/usr/local/cvsroot"
ECVS_MODULE="gnus"
ECVS_USER="gnus"
ECVS_PASS="gnus"
ECVS_CVS_OPTIONS="-dP"
inherit elisp cvs
DESCRIPTION="Current alpha branch of the Gnus news- and mail-reader"
HOMEPAGE="http://www.gnus.org/"
SRC_URI=""
LICENSE="GPL-2 FDL-1.2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~alpha ~sparc ~amd64"
IUSE=""
RESTRICT="$RESTRICT nostrip"
DEPEND=""
S=${WORKDIR}/${ECVS_MODULE}
SITEFILE=70${PN}-gentoo.el
src_compile() {
local myconf
myconf="${myconf} --without-w3 --without-url"
econf \
--with-emacs \
--with-lispdir=/usr/share/emacs/site-lisp/gnus-cvs \
--with-etcdir=/usr/share/emacs/etc \
${myconf} || die "econf failed"
# bug #75325
emake -j1 || die
}
src_install() {
einstall \
lispdir="${D}/usr/share/emacs/site-lisp/gnus-cvs" \
etcdir="${D}/usr/share/emacs/etc" \
|| die "einstall 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 \;
}
|