# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

DESCRIPTION="Simple, portable tool for measuring SMTP server delay"
HOMEPAGE="https://github.com/halon/smtpping"
SRC_URI="https://github.com/halon/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

src_configure() {
	local mycmakeargs=(
		-DMAN_INSTALL_DIR="/usr/share/man"
	)
	cmake_src_configure
}