diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-08 10:50:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-08 10:50:14 +0100 |
commit | 3f71901f8c228f4de570abed1831ce3ee425343e (patch) | |
tree | a2dcd300d05ef8a2ec275b44a92a9d85bd3baa24 /dev-util/sysdig/sysdig-0.23.0.ebuild | |
parent | 12bb627384ddfd47382b9f1b6464481a58d01ebb (diff) |
gentoo resync 08.09.2018
Diffstat (limited to 'dev-util/sysdig/sysdig-0.23.0.ebuild')
-rw-r--r-- | dev-util/sysdig/sysdig-0.23.0.ebuild | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/dev-util/sysdig/sysdig-0.23.0.ebuild b/dev-util/sysdig/sysdig-0.23.0.ebuild deleted file mode 100644 index e366e6626308..000000000000 --- a/dev-util/sysdig/sysdig-0.23.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -: ${CMAKE_MAKEFILE_GENERATOR:=ninja} -MODULES_OPTIONAL_USE=modules -inherit linux-mod bash-completion-r1 cmake-utils - -DESCRIPTION="A system exploration and troubleshooting tool" -HOMEPAGE="https://www.sysdig.org/" -SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="libressl +modules" - -RDEPEND=" - app-misc/jq:0= - dev-lang/luajit:2= - >=dev-libs/jsoncpp-0.6_pre:0= - dev-libs/libb64:0= - sys-libs/ncurses:0= - sys-libs/zlib:0= - libressl? ( dev-libs/libressl:0= ) - !libressl? ( dev-libs/openssl:0= ) - net-misc/curl:0=" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/os-headers" - -# needed for the kernel module -CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS" - -pkg_pretend() { - linux-mod_pkg_setup -} - -pkg_setup() { - linux-mod_pkg_setup -} - -src_prepare() { - sed -i -e 's:-ggdb::' CMakeLists.txt || die - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - # we will use linux-mod for that - -DBUILD_DRIVER=OFF - # libscap examples are not installed or really useful - -DBUILD_LIBSCAP_EXAMPLES=OFF - - # unbundle the deps - -DUSE_BUNDLED_DEPS=OFF - ) - - cmake-utils_src_configure - - # setup linux-mod ugliness - MODULE_NAMES="sysdig-probe(extra:${S}/driver:)" - BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"' - BUILD_TARGETS="all" - - if use modules; then - cmake-utils_src_make configure_driver - - cp "${BUILD_DIR}"/driver/Makefile.dkms driver/Makefile || die - fi -} - -src_compile() { - cmake-utils_src_compile - - linux-mod_src_compile -} - -src_install() { - cmake-utils_src_install - - linux-mod_src_install - - # remove sources - rm -r "${ED%/}"/usr/src || die - - # move bashcomp to the proper location - dobashcomp "${ED%/}"/usr/etc/bash_completion.d/sysdig || die - rm -r "${ED%/}"/usr/etc || die -} |