# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 LUA_COMPAT=( luajit ) PYTHON_COMPAT=( python3_{9..12} ) LLVM_MAX_SLOT=17 inherit cmake linux-info llvm lua-single python-r1 toolchain-funcs DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, and more" HOMEPAGE="https://iovisor.github.io/bcc/" SRC_URI="https://github.com/iovisor/bcc/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv ~x86" IUSE="+lua test" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} lua? ( ${LUA_REQUIRED_USE} ) " # tests need root access RESTRICT="test" RDEPEND=" >=dev-libs/elfutils-0.166:= >=dev-libs/libbpf-1.2.0:=[static-libs(-)] sys-kernel/linux-headers