19 lines
813 B
Bash
19 lines
813 B
Bash
# Template file for 'bpftrace'
|
|
pkgname=bpftrace
|
|
version=0.17.1
|
|
revision=1
|
|
archs="x86_64* aarch64* ppc64*"
|
|
build_style=cmake
|
|
configure_args="-DUSE_SYSTEM_BPF_BCC=ON -DBUILD_TESTING=OFF" # needs root to run
|
|
hostmakedepends="flex pkg-config ruby-asciidoctor"
|
|
makedepends="bcc-devel cereal clang clang-tools-extra elfutils-devel libbpf-devel libxml2-devel llvm"
|
|
short_desc="High-level tracing language for Linux enhanced Berkeley Packet Filter"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/iovisor/bpftrace/"
|
|
distfiles="https://github.com/iovisor/bpftrace/archive/v${version}.tar.gz"
|
|
checksum=55fa6cd2c551d442910f5e7adc08b9cd9d80e968f84f749e9a2a02e843f9c5d5
|
|
nostrip=yes # needs to read own symbol table
|
|
|
|
CXXFLAGS="-isystem ${XBPS_CROSS_BASE}/usr/include/bcc/compat"
|