Tested on Yocto Mickledore
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=1adddd85956b2419aec1dfcec7139f0d"
SRC_URI = "git://github.com/slackhq/nebula.git;protocol=https;branch=master"
PV = "1.0.0+1.1+git${SRCPV}"
SRCREV = "1f1d6602001477450606e3727dd3788516105e3a"
S = "${WORKDIR}/git"
NEBULA_ARCH = "build/linux-arm-7/nebula"
GO_IMPORT = "${S}"
inherit go-mod
EXTRA_OEMAKE = "GOENV="""
do_configure () {
:
}
do_compile () {
oe_runmake -C ${S} ${NEBULA_ARCH}
}
do_install () {
install -d ${D}${sbindir}
install -m 0755 "${S}/${NEBULA_ARCH}" ${D}${sbindir}/nebula
}