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

Contents of /app-emacs/vm/vm-8.0.11.581.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 24 10:15:54 2008 UTC (10 years, 1 month ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix definition of vm-version, upstream regression, bug 235563.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)

1 # Copyright 1999-2008 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.11.581.ebuild,v 1.1 2008/08/11 21:30:45 ulm Exp $
4
5 inherit elisp eutils versionator
6
7 VM_PV=$(replace_version_separator 3 '-')
8 VM_P=${PN}-${VM_PV}
9
10 DESCRIPTION="The VM mail reader for Emacs"
11 HOMEPAGE="http://www.nongnu.org/viewmail/"
12 SRC_URI="http://download.savannah.nongnu.org/releases/viewmail/${VM_P}.tgz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
17 IUSE="bbdb ssl"
18
19 DEPEND="bbdb? ( app-emacs/bbdb )"
20 RDEPEND="${DEPEND}
21 ssl? ( net-misc/stunnel )"
22
23 SITEFILE=50${PN}-gentoo.el
24 S="${WORKDIR}/${VM_P}"
25
26 src_unpack() {
27 unpack ${A}
28 cd "${S}"
29
30 if ! use bbdb; then
31 elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
32 epatch "${FILESDIR}/vm-8.0-no-pcrisis.patch"
33 fi
34
35 # disable vm-revno braindamage
36 sed -i -e '/^vm-revno.el:/{:x;s/^/#/;n;/^\t/bx;}' lisp/Makefile.in
37 }
38
39 src_compile() {
40 local myconf
41 use bbdb && myconf="--with-other-dirs=${SITELISP}/bbdb"
42 econf --with-emacs="emacs" \
43 --with-pixmapdir="/usr/share/pixmaps/vm" \
44 ${myconf} || 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