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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu May 13 20:06:43 2010 UTC (8 years ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +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_beta.ebuild,v 1.3 2010/01/04 22:45:42 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/trunk/${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 epatch "${FILESDIR}/${P}-submake-errors.patch"
31
32 if ! use bbdb; then
33 elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
34 epatch "${FILESDIR}/vm-8.0-no-pcrisis.patch"
35 fi
36 }
37
38 src_compile() {
39 econf \
40 --with-emacs="emacs" \
41 --with-pixmapdir="${SITEETC}/${PN}" \
42 $(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
43 emake || die "emake failed"
44 }
45
46 src_install() {
47 emake -j1 DESTDIR="${D}" install || die "emake install failed"
48 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
49 dodoc CHANGES NEWS README TODO example.vm || die "dodoc failed"
50 }

  ViewVC Help
Powered by ViewVC 1.1.20