meta-openembedded/meta-oe/recipes-extended/sysdig/sysdig_git.bb
Armin Kuster 25206cde73 sysdig: don't build for aarch64
this package depends on luajit which is not supported on aarch64

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-21 18:32:48 -07:00

42 lines
1.2 KiB
BlitzBasic

SUMMARY = "A New System Troubleshooting Tool Built for the Way You Work"
DESCRIPTION = "Sysdig is open source, system-level exploration: capture \
system state and activity from a running Linux instance, then save, \
filter and analyze."
HOMEPAGE = "http://www.sysdig.org/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
inherit cmake pkgconfig
OECMAKE_GENERATOR = "Unix Makefiles"
DEPENDS = "luajit zlib ncurses"
RDEPENDS_${PN} = "bash"
SRC_URI = "git://github.com/draios/sysdig.git;branch=master \
file://0001-libsinsp-Port-to-build-with-lua-5.2.patch \
file://0001-Fix-build-with-musl-backtrace-APIs-are-glibc-specifi.patch \
"
SRCREV = "85d16f33a82a17f87ccdbc088749271c71d87013"
PV = "0.1.102+git${SRCPV}"
S = "${WORKDIR}/git"
DIR_ETC="/etc"
EXTRA_OECMAKE = ' -DUSE_BUNDLED_LUAJIT="OFF" \
-DUSE_BUNDLED_ZLIB="OFF" \
-DBUILD_DRIVER="OFF" \
-DUSE_BUNDLED_NCURSES="OFF" \
-DDIR_ETC="${DIR_ETC}" \
'
FILES_${PN} += " \
${DIR_ETC}/* \
${datadir}/zsh/* \
${prefix}/src/* \
"
# luajit not supported on Aarch64
COMPATIBLE_HOST = "^(?!aarch64).*"