mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
36 lines
646 B
Bash
36 lines
646 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools flag-o-matic
|
|
|
|
DESCRIPTION="Utility for collecting and processing sFlow data"
|
|
HOMEPAGE="
|
|
https://inmon.com/technology/sflowTools.php
|
|
https://github.com/sflow/sflowtool
|
|
"
|
|
SRC_URI="https://github.com/sflow/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="inmon-sflow"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="debug"
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
append-cppflags -DSPOOFSOURCE
|
|
use debug && append-cppflags -DDEBUG
|
|
|
|
default
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
dobin scripts/sflowenable
|
|
}
|