blob: 0a12d8d6ae1b1daec3e656e55ded16c09fb4bc7e (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gnus/gnus-5.13_p20091115.ebuild,v 1.1 2009/11/15 19:39:35 ulm Exp $
inherit elisp
MY_P="${PN}-CURRENT-${PV##*[!0-9]}"
DESCRIPTION="The Gnus newsreader and mail-reader"
HOMEPAGE="http://gnus.org/"
SRC_URI="ftp://ftp.gnus.org/pub/gnus/snapshots/${MY_P}.tar.gz"
LICENSE="GPL-3 FDL-1.2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE=""
RDEPEND="!app-emacs/gnus-cvs
!app-emacs/ngnus"
S="${WORKDIR}/${MY_P}"
SITEFILE="70${PN}-gentoo.el"
src_compile() {
econf \
--with-emacs --without-w3 --without-url \
--with-lispdir=${SITELISP}/${PN} \
--with-etcdir=${SITEETC}/${PN}
emake || die "emake failed"
}
src_install() {
einstall \
lispdir="${D}${SITELISP}/${PN}" \
etcdir="${D}${SITEETC}/${PN}" \
|| die "einstall failed"
# fix info documentation
for i in "${D}"/usr/share/info/*; do
mv "${i}" "${i}".info || die "mv info failed"
done
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
dodoc ChangeLog GNUS-NEWS README README.snapshot todo || die "dodoc failed"
}
|