void-packages/srcpkgs/bpftrace/template
2021-11-13 19:23:18 +01:00

21 lines
779 B
Bash

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