A patch that is needed for build is not obsolete ;)
Part revert 1c6521fe1f
.
Closes: #11545 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
36 lines
1.3 KiB
Bash
36 lines
1.3 KiB
Bash
# Template file for 'sysdig'
|
|
pkgname=sysdig
|
|
version=0.25
|
|
revision=1
|
|
archs="i686 x86_64 ppc64le"
|
|
build_style=cmake
|
|
configure_args="-DSYSDIG_VERSION=${version} -DUSE_BUNDLED_DEPS=OFF
|
|
-DUSE_BUNDLED_B64=ON -DUSE_BUNDLED_JQ=ON -DBUILD_DRIVER=OFF
|
|
-DLUA_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/luajit-2.1
|
|
-DLUA_LIBRARY=libluajit-5.1.so"
|
|
hostmakedepends="wget pkg-config protobuf"
|
|
makedepends="LuaJIT-devel c-ares-devel elfutils-devel grpc-devel jsoncpp-devel
|
|
libcurl-devel libprotoc-devel libressl-devel ncurses-devel protobuf-devel
|
|
tbb-devel zlib-devel"
|
|
depends="dkms"
|
|
short_desc="Open source system-level exploration and troubleshooting tool"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="Apache-2.0, MIT, GPL-2.0-only"
|
|
homepage="http://www.sysdig.org/"
|
|
changelog="https://github.com/draios/sysdig/releases"
|
|
distfiles="https://github.com/draios/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=4ab2d3cebb49e3b059bf974d68cef4cedc141d1544fa2b252cfa1cdf3ee33fdd
|
|
disable_parallel_build=yes
|
|
dkms_modules="sysdig ${version}"
|
|
nocross=yes
|
|
|
|
post_extract() {
|
|
sed -i 's,"${DIR_ETC}/bash_completion.d",share/bash-completion/completions,g' scripts/CMakeLists.txt
|
|
sed -i '1i#include <sys/select.h>' userspace/libsinsp/mesos_collector.h
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/share/zsh/vendor-completions
|
|
vlicense COPYING
|
|
vlicense NOTICES
|
|
}
|