# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 LLVM_MAX_SLOT=15 inherit llvm linux-info cmake toolchain-funcs DESCRIPTION="High-level tracing language for eBPF" HOMEPAGE="https://github.com/iovisor/bpftrace" MY_PV="${PV//_/}" SRC_URI=" https://github.com/iovisor/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz https://dev.gentoo.org/~chutzpah/dist/bpftrace/bpftrace-0.14.1-llvm14.patch.gz " S="${WORKDIR}/${PN}-${MY_PV:-${PV}}" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" IUSE="fuzzing test" # lots of fixing needed RESTRICT="test" RDEPEND=" >=dev-libs/libbpf-0.8:= =dev-util/bcc-0.13.0:= dev-util/systemtap