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

EAPI=8

inherit cmake

DESCRIPTION="ssh-based ping: measure character echo latency and bandwidth"
HOMEPAGE="https://github.com/spook/sshping"
SRC_URI="https://github.com/spook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="dev-lang/perl"
DEPEND="net-libs/libssh:="
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/${P}-fix-man-dir.patch" )

src_configure() {
	local mycmakeargs=(
		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
	)

	cmake_src_configure
}