summaryrefslogtreecommitdiff
blob: 9603e800e553f57af734aebf3094114eb9009846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/tramp/tramp-20020411.ebuild,v 1.2 2003/02/13 07:09:13 vapier Exp $

inherit elisp 

IUSE=""

DESCRIPTION="TRAMP (Transparent Remote Access, Multiple Protocols) is a package for editing remote files, similar to ange-ftp. Whereas ange-ftp uses FTP to connect to the remote host and to transfer the files, TRAMP uses a remote shell connection (rlogin, telnet, ssh"
HOMEPAGE="http://tramp.sourceforge.net/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

DEPEND="virtual/emacs"

S="${WORKDIR}/${PN}"

src_compile() {
	make EMACS=emacs all || die
}

src_install() {
	elisp-install ${PN} lisp/*.el lisp/*.elc
	elisp-site-file-install ${FILESDIR}/50tramp-gentoo.el

	dodoc README ChangeLog.orig ChangeLog CONTRIBUTORS 
	doinfo texi/tramp.info
}

pkg_postinst() {
	elisp-site-regen
}

pkg_postrm() {
	elisp-site-regen
}