From: Chunrong Guo <chunrong....@nxp.com> *include the following changes: b30bf69 - Merge branch 'master' of https://github.com/yosssi/gmq 31bcd32 - Fixed the comment of "version". 9d35a86 - Update README.md
* qoriq-edgescale-eds depends mqtt Signed-off-by: Chunrong Guo <chunrong....@nxp.com> --- recipes-containers/qoriq-eds/mqtt_git.bb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 recipes-containers/qoriq-eds/mqtt_git.bb diff --git a/recipes-containers/qoriq-eds/mqtt_git.bb b/recipes-containers/qoriq-eds/mqtt_git.bb new file mode 100644 index 0000000..de383c4 --- /dev/null +++ b/recipes-containers/qoriq-eds/mqtt_git.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "A golang registry for global request variables." +HOMEPAGE = "https://github.com/Sirupsen/logrus" +SECTION = "devel/go" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2509f45544da1ecce869ce2de1aa44dd" + +SRCNAME = "mqtt" + +PKG_NAME = "github.com/yosssi/gmq" +SRC_URI = "git://${PKG_NAME}.git" + +SRCREV = "b221999646da8ea48ff0796c2b0191aa510d062e" + +S = "${WORKDIR}/git" + +do_install() { + install -d ${D}${prefix}/local/go/src/${PKG_NAME} + cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ +} + +SYSROOT_PREPROCESS_FUNCS += "mqtt_sysroot_preprocess" + +mqtt_sysroot_preprocess () { + install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} + cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) +} + +FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" -- 2.7.4 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale