bcc: update to 0.9.0.

This commit is contained in:
Leah Neukirchen 2019-03-11 09:52:47 +01:00
parent 00d3c71c60
commit 47065b7301
1 changed files with 8 additions and 3 deletions

View File

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