void-packages/srcpkgs/sysdig/template
maxice8 d2eb199ebd
ports-wide: remove all occurrences of triggers="dkms"
There is no need for triggers="dkms" since having dkms_modules="" set
also adds the dkms trigger automatically.

This occoured problably since one template did it and everyone else
just copied it (understandable since dkms_modules is not documented)

[ci skip]
2018-08-20 08:34:30 -03:00

31 lines
1.1 KiB
Bash

# Template file for 'sysdig'
pkgname=sysdig
version=0.23.1
revision=1
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="jsoncpp-devel libcurl-devel libressl-devel LuaJIT-devel
ncurses-devel zlib-devel elfutils-devel"
depends="dkms"
dkms_modules="sysdig ${version}"
short_desc="Open source system-level exploration and troubleshooting tool"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="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=57d5b713b875eba35546a1408bf3f20c2703904a17d956be115ee55272db4cfa
nocross=yes
disable_parallel_build=yes
only_for_archs="i686 x86_64"
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
}