bcc: update to 0.3.0.

This commit is contained in:
Leah Neukirchen 2017-03-10 13:53:54 +01:00
parent 6c7f55c1ca
commit 2f85df3bff

View file

@ -1,22 +1,23 @@
# Template file for 'bcc'
pkgname=bcc
version=0.2.0
revision=2
version=0.3.0
revision=1
build_style=cmake
configure_args="-DREVISION=${version}"
hostmakedepends="flex"
makedepends="clang elfutils-devel lld-devel llvm ncurses-devel python-devel zlib-devel"
makedepends="clang elfutils-devel lld-devel llvm ncurses-devel
python-devel zlib-devel"
short_desc="BPF-based Linux IO analysis, networking, monitoring, and more"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
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"
checksum=8bdea41286dda0605e3e52fc76d345356dc637434935a112e6378e2dcb439a70
if [ "${XBPS_TARGET_MACHINE##*-}" = musl ]; then
broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/13841/steps/shell_3/logs/stdio"
fi
checksum=88f54dff96c30c6e7b45f475938eef790b1c9485f794b1ac6791c4e56007f7cc
nocross=yes # https://github.com/voidlinux/void-packages/issues/4738
post_extract() {
sed -i 's/REG_/BCC_REG_/g' src/cc/usdt_args.cc src/cc/usdt.h
}
bcc-tools_package() {
short_desc+=" - tools"
depends="python-bcc>=${version}_${revision} linux-headers"