bcc: update to 0.7.0.

This commit is contained in:
Leah Neukirchen 2018-09-05 16:12:24 +02:00
parent f6ba9feda0
commit 18200c6cb1

View file

@ -1,6 +1,6 @@
# Template file for 'bcc' # Template file for 'bcc'
pkgname=bcc pkgname=bcc
version=0.6.0 version=0.7.0
revision=1 revision=1
build_style=cmake build_style=cmake
configure_args="-DREVISION=${version}" configure_args="-DREVISION=${version}"
@ -12,7 +12,7 @@ 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=b69cf946a76bf8f6d0feaf2f92f045cbf1c3296b33e990f9fc7a6b9a1e548ca3 checksum=ac92f25861453b71943bd2ffbd5ed0b906e62a000d18ba61b178a1c13e57a32d
nocross=yes # https://github.com/voidlinux/void-packages/issues/4738 nocross=yes # https://github.com/voidlinux/void-packages/issues/4738
post_extract() { post_extract() {
@ -24,11 +24,18 @@ bcc-tools_package() {
pkg_install() { pkg_install() {
vmove usr/share/bcc/man/man8 vmove usr/share/bcc/man/man8
mv ${PKGDESTDIR}/usr/share/bcc/man ${PKGDESTDIR}/usr/share/man mv ${PKGDESTDIR}/usr/share/bcc/man ${PKGDESTDIR}/usr/share/man
gunzip ${PKGDESTDIR}/usr/share/man/*/*.gz
vmkdir usr/share/doc vmkdir usr/share/doc
vmove usr/share/bcc/tools vmove usr/share/bcc/tools
mv ${PKGDESTDIR}/usr/share/bcc/tools/doc ${PKGDESTDIR}/usr/share/doc/bcc-tools mv ${PKGDESTDIR}/usr/share/bcc/tools/doc ${PKGDESTDIR}/usr/share/doc/bcc-tools
mv ${PKGDESTDIR}/usr/share/bcc/tools ${PKGDESTDIR}/usr/bin mv ${PKGDESTDIR}/usr/share/bcc/tools ${PKGDESTDIR}/usr/bin
rm -rf ${PKGDESTDIR}/usr/bin/old rm -rf ${PKGDESTDIR}/usr/bin/old
mv ${PKGDESTDIR}/usr/bin/lib/* ${PKGDESTDIR}/usr/bin
rm -rf ${PKGDESTDIR}/usr/bin/lib
rm -rf ${PKGDESTDIR}/usr/bin/deadlock_detector.c
vmove usr/share/bcc/introspection
vbin ${PKGDESTDIR}/usr/share/bcc/introspection/bps
rm -rf ${PKGDESTDIR}/usr/share/bcc/introspection
mv ${PKGDESTDIR}/usr/bin/trace ${PKGDESTDIR}/usr/bin/trace-bcc mv ${PKGDESTDIR}/usr/bin/trace ${PKGDESTDIR}/usr/bin/trace-bcc
mv ${PKGDESTDIR}/usr/share/man/man8/trace.8 ${PKGDESTDIR}/usr/share/man/man8/trace-bcc.8 mv ${PKGDESTDIR}/usr/share/man/man8/trace.8 ${PKGDESTDIR}/usr/share/man/man8/trace-bcc.8
} }