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

Contents of /app-emacs/vm/vm-8.1.0_beta2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu May 13 20:06:43 2010 UTC (8 years, 4 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Remove beta versions.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.1.0_beta2.ebuild,v 1.1 2010/02/02 09:09:38 ulm Exp $
4
5 inherit elisp eutils
6
7 MY_PV="${PV/_/-}"
8 MY_P="${PN}-${MY_PV}"
9 DESCRIPTION="The VM mail reader for Emacs"
10 HOMEPAGE="http://www.nongnu.org/viewmail/"
11 SRC_URI="http://launchpad.net/vm/${PV%.*}.x/${MY_PV}/+download/${MY_P}.tgz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
16 IUSE="bbdb ssl"
17
18 DEPEND="bbdb? ( app-emacs/bbdb )"
19 RDEPEND="!app-emacs/u-vm-color
20 ${DEPEND}
21 ssl? ( net-misc/stunnel )"
22
23 S="${WORKDIR}/${MY_P}"
24 SITEFILE="50${PN}-gentoo.el"
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 econf \
38 --with-emacs="emacs" \
39 --with-pixmapdir="${SITEETC}/${PN}" \
40 $(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
41 emake || die "emake failed"
42 }
43
44 src_install() {
45 emake -j1 DESTDIR="${D}" install || die "emake install failed"
46 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
47 dodoc CHANGES NEWS README TODO example.vm || die "dodoc failed"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20