summaryrefslogtreecommitdiff
blob: b1c4c97f5b62e540275e36fdae2f74583b7f8c13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="SSH Proxy Command"
HOMEPAGE="https://github.com/gotoh/ssh-connect"
SRC_URI="https://github.com/gotoh/ssh-connect/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"

S="${WORKDIR}/ssh-connect-${PV}"

src_prepare() {
	default
	sed -i -e "s/CFLAGS=/CFLAGS+=/g" -e "s/CC=/CC?=/g" Makefile || die
}

src_install() {
	dobin ${PN}
	dodoc doc/manual.txt
}