bpftrace: Now supports only 64 bit targets.

This commit is contained in:
Jürgen Buchmüller 2020-05-08 23:06:04 +02:00
parent eba4c3c6c1
commit ff71b6d64c
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ homepage="https://github.com/iovisor/bpftrace/"
distfiles="https://github.com/iovisor/bpftrace/archive/v${version}.tar.gz"
checksum=50ea80c0e337c4aaa260911e013b92ae09bdd5a062b23eb748290409bc2844db
if [ "$XBPS_TARGET_WORDSIZE" != 64 ]; then
broken="Only 64 bit targets are supported. ${XBPS_TARGET_MACHINE} is ${XBPS_TARGET_WORDSIZE} bit."
fi
post_install() {
# clashes with bcc-tools
rm -rf ${DESTDIR}/usr/share/man