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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Oct 9 08:37:34 2007 UTC (10 years, 6 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove broken and old versions.
(Portage version: 2.1.3.12)

1 # Copyright 1999-2007 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.3.495.ebuild,v 1.1 2007/08/19 12:41:08 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"
18
19 DEPEND="bbdb? ( app-emacs/bbdb )"
20 RDEPEND="${DEPEND}"
21
22 S="${WORKDIR}/${VM_P}"
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27
28 if ! use bbdb; then
29 elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
30 epatch "${FILESDIR}/vm-8.0-no-pcrisis.patch"
31 fi
32 }
33
34 src_compile() {
35 local myconf
36 use bbdb && myconf="--with-other-dirs=${SITELISP}/bbdb"
37 econf --with-emacs="emacs" \
38 --with-pixmapdir="/usr/share/pixmaps/vm" \
39 ${myconf} || die "econf failed"
40 emake || die "emake failed"
41 }
42
43 src_install() {
44 emake -j1 DESTDIR="${D}" install || die "emake install failed"
45 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
46 dodoc NEWS README TODO example.vm || die "dodoc failed"
47 }

  ViewVC Help
Powered by ViewVC 1.1.20