From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-misc/zssh/zssh-1.5c-r1.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 net-misc/zssh/zssh-1.5c-r1.ebuild (limited to 'net-misc/zssh/zssh-1.5c-r1.ebuild') diff --git a/net-misc/zssh/zssh-1.5c-r1.ebuild b/net-misc/zssh/zssh-1.5c-r1.ebuild new file mode 100644 index 000000000000..31bceeeb6c2f --- /dev/null +++ b/net-misc/zssh/zssh-1.5c-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="An ssh wrapper enabling zmodem up/download in ssh" +HOMEPAGE="http://zssh.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" +IUSE="nls readline" + +DEPEND="readline? ( + sys-libs/ncurses + sys-libs/readline:0 + )" +RDEPEND="${DEPEND} + net-misc/openssh + net-dialup/lrzsz" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.5a-gentoo-include.diff" + + # Fix linking with sys-libs/ncurses[tinfo], bug #527036 + sed -i -e 's/-ltermcap/-ltinfo/g' configure || die + + epatch_user +} + +src_configure() { + tc-export AR CC RANLIB + econf \ + $(use_enable nls) \ + $(use_enable readline) +} + +src_install() { + dobin ${PN} ztelnet + doman ${PN}.1 ztelnet.1 + dodoc CHANGES FAQ README TODO +} -- cgit v1.2.3