mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
bpftrace: update to 0.17.0.
This commit is contained in:
parent
aea8594eda
commit
f5d3513522
1 changed files with 4 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'bpftrace'
|
# Template file for 'bpftrace'
|
||||||
pkgname=bpftrace
|
pkgname=bpftrace
|
||||||
version=0.16.0
|
version=0.17.0
|
||||||
revision=1
|
revision=1
|
||||||
archs="x86_64* aarch64* ppc64*"
|
archs="x86_64* aarch64* ppc64*"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTING=OFF" # needs root to run
|
configure_args="-DUSE_SYSTEM_BPF_BCC=ON -DBUILD_TESTING=OFF" # needs root to run
|
||||||
hostmakedepends="flex pkg-config ruby-asciidoctor"
|
hostmakedepends="flex pkg-config ruby-asciidoctor"
|
||||||
makedepends="bcc-devel cereal clang clang-tools-extra elfutils-devel libbpf-devel libxml2-devel llvm"
|
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"
|
short_desc="High-level tracing language for Linux enhanced Berkeley Packet Filter"
|
||||||
|
@ -12,12 +12,10 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/iovisor/bpftrace/"
|
homepage="https://github.com/iovisor/bpftrace/"
|
||||||
distfiles="https://github.com/iovisor/bpftrace/archive/v${version}.tar.gz"
|
distfiles="https://github.com/iovisor/bpftrace/archive/v${version}.tar.gz"
|
||||||
checksum=89456dee3a20ec6c21ece345d4bf9a16a06af0f63cc5dffa9f5c7eea7916e21d
|
checksum=ccc853205b081fd7e4270016065ccc04764286644bf8e0eee9bd7f344cad63e5
|
||||||
nostrip=yes # needs to read own symbol table
|
nostrip=yes # needs to read own symbol table
|
||||||
|
|
||||||
post_extract() {
|
CXXFLAGS="-isystem ${XBPS_CROSS_BASE}/usr/include/bcc/compat"
|
||||||
vsed -i -e 's:<linux/btf.h>:<bpf/linux/btf.h>:g' src/btf.cpp
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# clashes with bcc-tools
|
# clashes with bcc-tools
|
||||||
|
|
Loading…
Add table
Reference in a new issue