bcc: update to 0.12.0.

This commit is contained in:
Leah Neukirchen 2019-12-11 10:43:06 +01:00
parent 383ce05cb9
commit 083e41a1b0

View file

@ -1,7 +1,8 @@
# Template file for 'bcc'
pkgname=bcc
version=0.11.0
version=0.12.0
revision=1
wrksrc="bcc"
build_style=cmake
configure_args="-DREVISION=${version}"
hostmakedepends="flex"
@ -12,16 +13,11 @@ short_desc="BPF-based Linux IO analysis, networking, monitoring, and more"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/iovisor/bcc"
distfiles="https://github.com/iovisor/${pkgname}/archive/v${version}.tar.gz
https://github.com/libbpf/libbpf/archive/1a26b51b1ca0c33ded075e7563ab40fba686ea0f.tar.gz"
checksum="18ba73ab285d96b806e59764abba5e6a5fa0c39f5571150b31cf651df3a71b48
3c2e5dc538b338353b05f1ed5d5f2aceee394bbd9b69fec2a7b586a4f9c0274d"
distfiles="https://github.com/iovisor/bcc/releases/download/v${version}/bcc-src-with-submodule.tar.gz"
checksum=a7acf0e7a9d3ca03a91f22590e695655a5f0ccf8e3dc29e454c2e4c5d476d8aa
nocross=yes # https://github.com/voidlinux/void-packages/issues/4738
post_extract() {
rm -rf src/cc/libbpf
mv ../libbpf* src/cc/libbpf
sed -i '/tests/d' CMakeLists.txt # break on musl
}
bcc-tools_package() {