26 lines
712 B
Bash
26 lines
712 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-misc/autossh/autossh-1.4c.ebuild,v 1.2 2011/11/26 16:37:51 hwoarang Exp $
|
|
|
|
EAPI=4
|
|
|
|
DESCRIPTION="Automatically restart SSH sessions and tunnels"
|
|
HOMEPAGE="http://www.harding.motd.ca/autossh/"
|
|
SRC_URI="http://www.harding.motd.ca/${PN}/${P}.tgz"
|
|
|
|
LICENSE="BSD"
|
|
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
RDEPEND="net-misc/openssh"
|
|
|
|
src_prepare() {
|
|
sed -i -e "s:\$(CC):& \$(LDFLAGS):" Makefile.in || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin autossh
|
|
dodoc CHANGES README autossh.host rscreen
|
|
doman autossh.1
|
|
}
|