void-packages/srcpkgs/bpftrace/template

20 lines
677 B
Bash

# Template file for 'bpftrace'
pkgname=bpftrace
version=0.9.2
revision=2
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=3b3bad09bd3702d852900b3721739d9e9ea9271373222f317c6aaa33c4630020
post_install() {
# clashes with bcc-tools anyway
rm -rf ${DESTDIR}/usr/man
}