/[gentoo-x86]/net-misc/zssh/zssh-1.5c-r1.ebuild
Gentoo

Contents of /net-misc/zssh/zssh-1.5c-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri May 22 06:08:32 2015 UTC (4 years, 8 months ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +10 -3 lines
Add missing dependency on sys-libs/ncurses when USE='readline', fix linking with ncurses[tinfo], bug #527036. Add slot for sys-libs/readline dependency

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x60C0742D1F357D42)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/zssh/zssh-1.5c-r1.ebuild,v 1.4 2013/03/31 10:32:42 ago Exp $
4
5 EAPI=5
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="An ssh wrapper enabling zmodem up/download in ssh"
10 HOMEPAGE="http://zssh.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ~ppc sparc x86"
16 IUSE="nls readline"
17
18 DEPEND="readline? (
19 sys-libs/ncurses
20 sys-libs/readline:0
21 )"
22 RDEPEND="${DEPEND}
23 net-misc/openssh
24 net-dialup/lrzsz"
25
26 src_prepare() {
27 epatch "${FILESDIR}/${PN}-1.5a-gentoo-include.diff"
28
29 # Fix linking with sys-libs/ncurses[tinfo], bug #527036
30 sed -i -e 's/-ltermcap/-ltinfo/g' configure || die
31
32 epatch_user
33 }
34
35 src_configure() {
36 tc-export AR CC RANLIB
37 econf \
38 $(use_enable nls) \
39 $(use_enable readline)
40 }
41
42 src_install() {
43 dobin ${PN} ztelnet
44 doman ${PN}.1 ztelnet.1
45 dodoc CHANGES FAQ README TODO
46 }

  ViewVC Help
Powered by ViewVC 1.1.20