tipcutils: add recipe
authorTing Liu <b28495@freescale.com>
Tue, 24 Sep 2013 07:17:36 +0000 (07:17 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:33:37 +0000 (08:33 -0800)
The Transparent Inter-Process Communication protocol allows applications
in a clustered computer environment to communicate quickly and reliably
with other applications, regardless of their location within the
cluster.

demo binaries are packaged to tipcutils-demos.

(From meta-openembedded rev: e5da5ebff6dd6964bbeb37a39bbf8afa30ce92da)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-extended/tipcutils/tipcutils_2.0.6.bb [new file with mode: 0644]

diff --git a/meta-openembedded/meta-oe/recipes-extended/tipcutils/tipcutils_2.0.6.bb b/meta-openembedded/meta-oe/recipes-extended/tipcutils/tipcutils_2.0.6.bb
new file mode 100644 (file)
index 0000000..f91ef0e
--- /dev/null
@@ -0,0 +1,40 @@
+DESCRIPTION = "Transparent Inter-Process Communication protocol"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://tipc-config/tipc-config.c;endline=32;md5=527a3d5745e1581b15a4fddfb5dfda68"
+
+SRC_URI = "git://tipc.git.sourceforge.net/gitroot/tipc/tipcutils"
+SRCREV = "292a03e17f889013fca2c7bd0aaeebd600c88f40"
+
+DEPENDS="virtual/kernel"
+
+inherit autotools
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+    ( cd ${S}; ${S}/bootstrap )
+}
+
+do_install_append() {
+    demos="benchmark hello_world topology_subscr_demo connection_demo \
+           multicast_demo stream_demo"
+    for i in $demos;do
+        install -d ${D}/opt/tipcutils/demos/$i
+        install ${S}/demos/$i/client_tipc ${D}/opt/tipcutils/demos/$i/
+        install ${S}/demos/$i/server_tipc ${D}/opt/tipcutils/demos/$i/
+    done
+    install -d ${D}/opt/tipcutils/demos/inventory_sim
+    install ${S}/demos/inventory_sim/inventory_sim ${D}/opt/tipcutils/demos/inventory_sim/
+
+    install -d ${D}/opt/tipcutils/ptts
+    install ${S}/ptts/tipcTS ${D}/opt/tipcutils/ptts/
+    install ${S}/ptts/tipcTC ${D}/opt/tipcutils/ptts/
+
+    install -d ${D}${sysconfdir}
+    cp -a ${S}/scripts/etc/* ${D}${sysconfdir}/
+}
+
+PACKAGES += "${PN}-demos"
+FILES_${PN}-dbg += "/opt/tipcutils/demos/*/.debug /opt/tipcutils/ptts/.debug"
+FILES_${PN}-demos = "/opt/tipcutils/*"
+