All of lore.kernel.org
 help / color / mirror / Atom feed
From: chunrong.guo@nxp.com
To: meta-freescale@yoctoproject.org
Cc: Chunrong Guo <chunrong.guo@nxp.com>
Subject: [PATCH v2 6/7] mqtt: add recipes
Date: Tue,  8 May 2018 17:29:47 +0800	[thread overview]
Message-ID: <1525771788-15025-6-git-send-email-chunrong.guo@nxp.com> (raw)
In-Reply-To: <1525771788-15025-1-git-send-email-chunrong.guo@nxp.com>

From: Chunrong Guo <chunrong.guo@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.guo@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



  parent reply	other threads:[~2018-05-08  9:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-08  9:29 [PATCH v2 1/7] qoriq-edgescale-eds: add recipes chunrong.guo
2018-05-08  9:29 ` [PATCH v2 2/7] qoriq-eds-kubelet: " chunrong.guo
2018-05-08  9:29 ` [PATCH v2 3/7] qoriq-kubelet-extras: " chunrong.guo
2018-05-08  9:29 ` [PATCH v2 4/7] qoriq-eds-bootstrap: " chunrong.guo
2018-05-08  9:29 ` [PATCH v2 5/7] qoriq-eds-puppet: " chunrong.guo
2018-05-08  9:29 ` chunrong.guo [this message]
2018-05-22 20:55   ` [PATCH v2 6/7] mqtt: " Otavio Salvador
2018-05-08  9:29 ` [PATCH v2 7/7] est-client-go: " chunrong.guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1525771788-15025-6-git-send-email-chunrong.guo@nxp.com \
    --to=chunrong.guo@nxp.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.