# Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit toolchain-funcs llvm linux-info cmake DESCRIPTION="High-level tracing language for eBPF" HOMEPAGE="https://github.com/iovisor/bpftrace" if [[ ${PV} =~ 9{4,} ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/iovisor/${PN}" BDEPEND="" else MY_PV="${PV//_/}" SRC_URI="https://github.com/iovisor/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm64 ~x86" BDEPEND="app-arch/xz-utils " fi LICENSE="Apache-2.0" SLOT="0" IUSE="test" COMMON_DEPEND=" dev-util/systemtap =sys-devel/llvm-3.7.1:=[llvm_targets_BPF(+)] <=sys-devel/llvm-12:=[llvm_targets_BPF(+)] <=sys-devel/clang-12:= >=dev-util/bcc-0.13.0:=