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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Apr 4 21:17:46 2013 UTC (5 years, 8 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Fix build failure with texinfo-5.1, bug 464312. Specify LICENSE more precisely. Remove old.

(Portage version: 2.1.11.60/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 # Copyright 1999-2012 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.1.ebuild,v 1.4 2012/07/29 17:14:56 armin76 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="~amd64 ~ppc ~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-8.0.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 -j1 || 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