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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Feb 21 05:41:09 2008 UTC (10 years, 2 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Remove intermediate versions.
(Portage version: 2.1.4.4)

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.7.522.ebuild,v 1.1 2008/01/06 09:59:16 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
36 src_compile() {
37 local myconf
38 use bbdb && myconf="--with-other-dirs=${SITELISP}/bbdb"
39 econf --with-emacs="emacs" \
40 --with-pixmapdir="/usr/share/pixmaps/vm" \
41 ${myconf} || die "econf failed"
42 emake || die "emake failed"
43 }
44
45 src_install() {
46 emake -j1 DESTDIR="${D}" install || die "emake install failed"
47 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
48 dodoc NEWS README TODO example.vm || die "dodoc failed"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20