void-packages/srcpkgs/bpftrace/template
2021-08-06 16:20:59 +02:00

22 lines
755 B
Bash

# Template file for 'bpftrace'
pkgname=bpftrace
version=0.13.0
revision=3
archs="x86_64* aarch64* ppc64*"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF" # needs root to run
hostmakedepends="pkg-config flex"
makedepends="bcc-devel clang clang-tools-extra elfutils-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=a5203e5c73277c87d624f32e8ee394d4c5e2c2810bde8314c1b015c9d810a6bb
nostrip=yes # needs to read own symbol table
post_install() {
# clashes with bcc-tools
rm -rf ${DESTDIR}/usr/share/man
}