/[gentoo-x86]/app-emacs/gnus/gnus-5.10.10-r1.ebuild
Gentoo

Contents of /app-emacs/gnus/gnus-5.10.10-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Nov 15 18:13:02 2009 UTC (8 years, 10 months ago) by ulm
Branch: MAIN
Changes since 1.1: +3 -3 lines
Install images and tutorial in a subdirectory of SITEETC.
(Portage version: 2.2_rc49/cvs/Linux i686)

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

  ViewVC Help
Powered by ViewVC 1.1.20