void-packages/srcpkgs/sysdig/template

32 lines
1.1 KiB
Bash

# Template file for 'sysdig'
pkgname=sysdig
version=0.24.2
revision=1
only_for_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"
hostmakedepends="wget"
makedepends="LuaJIT-devel elfutils-devel jsoncpp-devel libcurl-devel
libressl-devel ncurses-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=cd925afd2fb0a26728611666e017d480afd49158c2d70714c7461a97c8820807
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
}