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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Sep 12 10:58:18 2009 UTC (9 years ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix mail folder corruption, bug 284668. Remove intermediate revision.
(Portage version: 2.2_rc40/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-8.0.12-r3.ebuild,v 1.1 2009/09/10 08:32:36 ulm Exp $
4
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
29 if ! use bbdb; then
30 elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
31 epatch "${FILESDIR}/vm-8.0-no-pcrisis.patch"
32 fi
33
34 # fix vm-version, bug 235563
35 #sed -i -e "/^(defvar vm-version /s/nil/\"${PV}\"/" lisp/vm-version.el \
36 # || die "sed failed"
37 }
38
39 src_compile() {
40 econf \
41 --with-emacs="emacs" \
42 --with-pixmapdir="${SITEETC}/${PN}" \
43 $(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb") \
44 || die "econf failed"
45 emake || die "emake failed"
46 }
47
48 src_install() {
49 emake -j1 DESTDIR="${D}" install || die "emake install failed"
50 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
51 dodoc NEWS README TODO example.vm || die "dodoc failed"
52 }

  ViewVC Help
Powered by ViewVC 1.1.20