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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Nov 6 22:23:11 2008 UTC (9 years, 7 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, fixes bug 237730. Remove old.
(Portage version: 2.2_rc13/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-r1.ebuild,v 1.1 2008/08/24 10:15:54 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 # fix vm-version, bug 235563
36 sed -i -e "/^(defvar vm-version /s/nil/\"${VM_PV}\"/" lisp/vm-version.el \
37 || die "sed failed"
38 }
39
40 src_compile() {
41 local myconf
42 use bbdb && myconf="--with-other-dirs=${SITELISP}/bbdb"
43 econf --with-emacs="emacs" \
44 --with-pixmapdir="/usr/share/pixmaps/vm" \
45 ${myconf} || die "econf failed"
46 emake || die "emake failed"
47 }
48
49 src_install() {
50 emake -j1 DESTDIR="${D}" install || die "emake install failed"
51 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
52 dodoc NEWS README TODO example.vm || die "dodoc failed"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20