diff options
Diffstat (limited to 'app-emacs/tramp/tramp-2.1.10-r2.ebuild')
-rw-r--r-- | app-emacs/tramp/tramp-2.1.10-r2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-emacs/tramp/tramp-2.1.10-r2.ebuild b/app-emacs/tramp/tramp-2.1.10-r2.ebuild new file mode 100644 index 000000000000..0bc79ae70600 --- /dev/null +++ b/app-emacs/tramp/tramp-2.1.10-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/tramp/tramp-2.1.10-r2.ebuild,v 1.1 2007/10/06 17:24:01 ulm Exp $ + +inherit elisp eutils + +DESCRIPTION="Edit remote files like ange-ftp but with rlogin, telnet and/or ssh" +HOMEPAGE="http://savannah.gnu.org/projects/tramp/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3 FDL-1.2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +SITEFILE=51${PN}-gentoo.el + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${P}-fix-texinfo.patch" + epatch "${FILESDIR}/${P}-copy-tree-gentoo.patch" + epatch "${FILESDIR}/${P}-make-tramp-temp-file.patch" +} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" + elisp-make-autoload-file lisp/${PN}-autoloads.el lisp \ + || die "elisp-make-autoload-file failed" +} + +src_install() { + einstall lispdir="${D}${SITELISP}/tramp" || die + + mv "${D}/usr/share/info/tramp" "${D}/usr/share/info/tramp-info" + + dohtml texi/*.html + if [ -f texi/tramp.dvi ]; then + insinto /usr/share/doc/${PF} + doins texi/tramp.dvi + fi + + elisp-install ${PN} lisp/${PN}-autoloads.el + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + dodoc README ChangeLog CONTRIBUTORS || die "dodoc failed" +} |