You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
858 B
50 lines
858 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
4 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
DESCRIPTION="Network performance measurement tool"
|
||
|
HOMEPAGE="http://flowgrind.net/ https://github.com/flowgrind/flowgrind/"
|
||
|
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="debug doc gsl pcap"
|
||
|
|
||
|
RDEPEND="
|
||
3 years ago
|
dev-libs/xmlrpc-c:=[abyss,curl]
|
||
4 years ago
|
sys-apps/util-linux
|
||
3 years ago
|
gsl? ( sci-libs/gsl:= )
|
||
4 years ago
|
pcap? ( net-libs/libpcap )
|
||
|
"
|
||
|
DEPEND="
|
||
|
${RDEPEND}
|
||
|
"
|
||
|
BDEPEND="
|
||
|
doc? ( app-doc/doxygen )
|
||
|
"
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PN}-0.8.0-fno-common.patch
|
||
|
)
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
$(use_enable debug) \
|
||
|
$(use_with doc doxygen) \
|
||
|
$(use_with gsl) \
|
||
|
$(use_with pcap)
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
default
|
||
|
|
||
|
use doc && emake html
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
|
||
|
use doc && dodoc -r doc/html
|
||
|
}
|