| 1 |
# Copyright 1999-2007 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gnus/gnus-5.10.8-r1.ebuild,v 1.4 2007/07/03 06:13:48 ulm Exp $ |
| 4 |
|
| 5 |
inherit elisp |
| 6 |
|
| 7 |
DESCRIPTION="The Gnus newsreader and mail-reader" |
| 8 |
HOMEPAGE="http://www.gnus.org/" |
| 9 |
SRC_URI="http://quimby.gnus.org/gnus/dist/${P}.tar.gz" |
| 10 |
|
| 11 |
LICENSE="GPL-2 FDL-1.2" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
| 14 |
IUSE="" |
| 15 |
|
| 16 |
DEPEND="" |
| 17 |
RDEPEND="!app-emacs/gnus-cvs" |
| 18 |
|
| 19 |
SITEFILE=70${PN}-gentoo.el |
| 20 |
|
| 21 |
src_compile() { |
| 22 |
local myconf |
| 23 |
myconf="${myconf} --without-w3 --without-url" |
| 24 |
econf \ |
| 25 |
--with-emacs \ |
| 26 |
--with-lispdir=/usr/share/emacs/site-lisp/gnus \ |
| 27 |
--with-etcdir=/usr/share/emacs/etc \ |
| 28 |
${myconf} || die "econf failed" |
| 29 |
emake || die |
| 30 |
} |
| 31 |
|
| 32 |
src_install() { |
| 33 |
einstall \ |
| 34 |
lispdir="${D}/usr/share/emacs/site-lisp/gnus" \ |
| 35 |
etcdir="${D}/usr/share/emacs/etc" \ |
| 36 |
|| die "einstall failed" |
| 37 |
|
| 38 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
| 39 |
|
| 40 |
dodoc ChangeLog GNUS-NEWS README todo |
| 41 |
|
| 42 |
# fix info documentation |
| 43 |
find "${D}/usr/share/info" -type f -exec mv {} {}.info \; |
| 44 |
} |