void-packages/srcpkgs/sysdig/template

30 lines
1,018 B
Bash
Raw Normal View History

2015-06-05 14:44:36 +00:00
# Template file for 'sysdig'
pkgname=sysdig
2016-04-08 17:00:09 +00:00
version=0.9.0
2015-11-17 11:19:19 +00:00
revision=1
2015-06-05 14:44:36 +00:00
build_style=cmake
2015-11-07 15:29:24 +00:00
configure_args="-DSYSDIG_VERSION=${version} -DUSE_BUNDLED_DEPS=OFF
-DUSE_BUNDLED_B64=ON -DBUILD_DRIVER=OFF"
2015-06-05 14:44:36 +00:00
hostmakedepends="cmake"
2015-11-07 15:29:24 +00:00
makedepends="jsoncpp-devel libcurl-devel libressl-devel LuaJIT-devel
ncurses-devel zlib-devel"
2015-06-05 14:44:36 +00:00
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"
2016-04-08 17:00:09 +00:00
checksum=72a809b32153713e6d8697e86ee821eb969fa0ec486fa7432471374feb0f1da5
2015-06-05 14:45:53 +00:00
nocross=yes
2016-01-23 20:13:09 +00:00
disable_parallel_build=yes
2015-06-05 14:44:36 +00:00
post_extract() {
sed -i 's,"${DIR_ETC}/bash_completion.d",share/bash-completion/completions,g' scripts/CMakeLists.txt
2016-01-23 20:08:33 +00:00
sed -i '1i#include <sys/select.h>' userspace/libsinsp/mesos_collector.h
}
2015-06-05 14:44:36 +00:00
post_install() {
rm -rf ${DESTDIR}/usr/share/zsh/vendor-completions
}