diff --git a/srcpkgs/bpftrace/template b/srcpkgs/bpftrace/template new file mode 100644 index 00000000000..47d09a7c1a3 --- /dev/null +++ b/srcpkgs/bpftrace/template @@ -0,0 +1,19 @@ +# Template file for 'bpftrace' +pkgname=bpftrace +version=0.9.1 +revision=1 +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 " +license="Apache-2.0" +homepage="https://github.com/iovisor/bpftrace/" +distfiles="https://github.com/iovisor/bpftrace/archive/v${version}.tar.gz" +checksum=1abd09c7e5e91774fca6a8d092bdd991a0509b0b9418b6c8590a3949157c6e4b + +post_install() { + # clashes with bcc-tools anyway + rm -rf ${DESTDIR}/usr/man +}