diff options
Diffstat (limited to 'app-emacs/vm/vm-7.15.ebuild')
-rw-r--r-- | app-emacs/vm/vm-7.15.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-emacs/vm/vm-7.15.ebuild b/app-emacs/vm/vm-7.15.ebuild new file mode 100644 index 000000000000..ccf28f7d088e --- /dev/null +++ b/app-emacs/vm/vm-7.15.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-7.15.ebuild,v 1.1 2003/05/05 16:49:26 mkennedy Exp $ + +inherit elisp + +IUSE="" + +DESCRIPTION="An emacs major mode for reading and writing e-mail with support for GPG and MIME." +SRC_URI="ftp://ftp.uni-mainz.de/pub/software/gnu/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.wonderworks.com/vm" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND="virtual/glibc + virtual/emacs" + +S=${WORKDIR}/${P} + +SITEFILE=50vm-gentoo.el + +src_unpack() { + unpack ${A} + cd ${S} + patch -p0 <${FILESDIR}/vm-direntry-fix-gentoo.patch || die +} + +src_compile() { + make prefix=${D}/usr \ + INFODIR=${D}/usr/share/info \ + LISPDIR=${D}/${SITELISP}/vm \ + PIXMAPDIR=${D}/${SITELISP}/etc/${PN} \ + all || die +} + +src_install() { + make prefix=${D}/usr \ + INFODIR=${D}/usr/share/info \ + LISPDIR=${D}/${SITELISP}/vm \ + PIXMAPDIR=${D}/${SITELISP}/etc/${PN} \ + install || die + elisp-install ${PN} *.el + elisp-site-file-install ${FILESDIR}/50vm-gentoo.el + dodoc COPYING README +} + +pkg_postinst() { + elisp-site-regen +} + +pkg_postrm() { + elisp-site-regen +} |