2015-03-26 21:41:29 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# sysdig
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-05-26 09:34:14 +02:00
|
|
|
SYSDIG_VERSION = 0.1.100
|
2015-03-26 21:41:29 +01:00
|
|
|
SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION))
|
|
|
|
SYSDIG_LICENSE = GPLv2
|
|
|
|
SYSDIG_LICENSE_FILES = COPYING
|
|
|
|
SYSDIG_CONF_OPTS = -DUSE_BUNDLED_LUAJIT=OFF -DUSE_BUNDLED_ZLIB=OFF \
|
2015-05-26 09:34:14 +02:00
|
|
|
-DUSE_BUNDLED_JSONCPP=OFF -DENABLE_DKMS=OFF
|
2015-03-26 21:41:29 +01:00
|
|
|
SYSDIG_DEPENDENCIES = zlib luajit jsoncpp linux
|
|
|
|
SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
|
|
|
|
define SYSDIG_INSTALL_DRIVER
|
|
|
|
$(MAKE) -C $(SYSDIG_BUILDDIR) $(LINUX_MAKE_FLAGS) KERNELDIR="$(LINUX_DIR)" install_driver
|
|
|
|
endef
|
|
|
|
|
|
|
|
SYSDIG_POST_INSTALL_TARGET_HOOKS += SYSDIG_INSTALL_DRIVER
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|