30 lines
1018 B
Bash
30 lines
1018 B
Bash
# Template file for 'sysdig'
|
|
pkgname=sysdig
|
|
version=0.7.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DSYSDIG_VERSION=${version} -DUSE_BUNDLED_DEPS=OFF
|
|
-DUSE_BUNDLED_B64=ON -DBUILD_DRIVER=OFF"
|
|
hostmakedepends="cmake"
|
|
makedepends="jsoncpp-devel libcurl-devel libressl-devel LuaJIT-devel
|
|
ncurses-devel zlib-devel"
|
|
depends="dkms"
|
|
triggers="dkms"
|
|
dkms_modules="sysdig ${version}"
|
|
short_desc="Open source system-level exploration and troubleshooting tool"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://www.sysdig.org/"
|
|
distfiles="https://github.com/draios/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=5d8c8a080c88ebd419d6519a5c2c0874b407af6069537e6968eba48961a997c4
|
|
nocross=yes
|
|
disable_parallel_build=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
|
|
}
|