diff --git a/srcpkgs/bcc/template b/srcpkgs/bcc/template index ebd6bb1cc5b..ed3ee47f8b9 100644 --- a/srcpkgs/bcc/template +++ b/srcpkgs/bcc/template @@ -1,6 +1,6 @@ # Template file for 'bcc' pkgname=bcc -version=0.8.0 +version=0.9.0 revision=1 build_style=cmake configure_args="-DREVISION=${version}" @@ -11,8 +11,10 @@ short_desc="BPF-based Linux IO analysis, networking, monitoring, and more" maintainer="Leah Neukirchen " license="Apache-2.0" homepage="https://github.com/iovisor/bcc" -distfiles="https://github.com/iovisor/${pkgname}/archive/v${version}.tar.gz" -checksum=269949a47f9ed2ff01b5ebca20ec4a52341f7ff14b033b9dc1669b72a87af042 +distfiles="https://github.com/iovisor/${pkgname}/archive/v${version}.tar.gz + https://github.com/libbpf/libbpf/archive/5beb8a2ebffd1045e3edb9b522d6ff5bb477c541.tar.gz" +checksum="0703b752c501b37065f11436e6b38fd66a8153e963cec4989a730d8498451216 + 36d1f67c3648d4556bcf560e18cd20dac99e4c35c3a1b447b06e4d39724e3f9f" nocross=yes # https://github.com/voidlinux/void-packages/issues/4738 case "$XBPS_TARGET_MACHINE" in @@ -20,6 +22,9 @@ case "$XBPS_TARGET_MACHINE" in esac post_extract() { + rm -rf src/cc/libbpf + mv ../libbpf* src/cc/libbpf + sed -i '/tests/d' CMakeLists.txt # break on musl } bcc-tools_package() {