/[gentoo-x86]/app-emacs/vm/vm-8.0.12-r5.ebuild
Gentoo

Contents of /app-emacs/vm/vm-8.0.12-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Nov 3 07:42:22 2009 UTC (8 years, 10 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Decode MIME message headers before calling Supercite, bug 256886.
(Portage version: 2.2_rc46/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/vm/vm-8.0.12-r5.ebuild,v 1.1 2009/10/16 18:29:42 ulm Exp $
4 ulm 1.1
5     inherit elisp eutils
6    
7     DESCRIPTION="The VM mail reader for Emacs"
8     HOMEPAGE="http://www.nongnu.org/viewmail/"
9     SRC_URI="http://download.savannah.nongnu.org/releases/viewmail/${P}.tgz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
14     IUSE="bbdb ssl"
15    
16     DEPEND="bbdb? ( app-emacs/bbdb )"
17     RDEPEND="${DEPEND}
18     ssl? ( net-misc/stunnel )"
19    
20     SITEFILE="50${PN}-gentoo.el"
21    
22     src_unpack() {
23     unpack ${A}
24     cd "${S}"
25    
26     epatch "${FILESDIR}/${P}-autoload-vm-pine.patch" #246185
27     epatch "${FILESDIR}/${P}-supercite-yank.patch" #256886
28     epatch "${FILESDIR}/${P}-folder-corruption.patch" #284668
29     epatch "${FILESDIR}/${P}-emacs-23.patch"
30     epatch "${FILESDIR}/${P}-charset-displayable.patch"
31    
32     if ! use bbdb; then
33     elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
34     epatch "${FILESDIR}/vm-8.0-no-pcrisis.patch"
35     fi
36     }
37    
38     src_compile() {
39     econf \
40     --with-emacs="emacs" \
41     --with-pixmapdir="${SITEETC}/${PN}" \
42     $(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
43     emake || die "emake failed"
44     }
45    
46     src_install() {
47     emake -j1 DESTDIR="${D}" install || die "emake install failed"
48     elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
49     dodoc NEWS README TODO example.vm || die "dodoc failed"
50     }

  ViewVC Help
Powered by ViewVC 1.1.20