void-packages/srcpkgs/sysdig/template
2015-09-16 11:58:29 +02:00

27 lines
945 B
Bash

# Template file for 'sysdig'
pkgname=sysdig
version=0.2.0
revision=1
build_style=cmake
configure_args="-DSYSDIG_VERSION=${version} -DUSE_BUNDLED_JSONCPP=OFF
-DUSE_BUNDLED_ZLIB=OFF -DUSE_BUNDLED_NCURSES=OFF -DUSE_BUNDLED_LUAJIT=OFF
-DBUILD_DRIVER=OFF"
hostmakedepends="cmake"
makedepends="zlib-devel jsoncpp-devel ncurses-devel LuaJIT-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=efade09f94f9e98f177149cde080b5436bb8a3da4e1a664699f2780ba22921ea
nocross=yes
post_extract() {
sed -i 's,"${DIR_ETC}/bash_completion.d",share/bash-completion/completions,g' scripts/CMakeLists.txt
}
post_install() {
rm -rf ${DESTDIR}/usr/share/zsh/vendor-completions
}