From a41da13ec5e2c536ee5ca250d2a798c93282d09f Mon Sep 17 00:00:00 2001
From: Charles Lesire <charles.lesire@onera.fr>
Date: Mon, 7 Apr 2014 13:24:16 +0200
Subject: [PATCH] OROCOS YARP transport package

The YARP transport for Orocos provides a Communication
framework to connect ports of components using the YARP middleware.
---
 orocos-yarp_transport/DESCR     |  3 +++
 orocos-yarp_transport/Makefile  | 41 +++++++++++++++++++++++++++++++++
 orocos-yarp_transport/PLIST     |  9 ++++++++
 orocos-yarp_transport/depend.mk | 26 +++++++++++++++++++++
 orocos-yarp_transport/distinfo  |  3 +++
 5 files changed, 82 insertions(+)
 create mode 100644 orocos-yarp_transport/DESCR
 create mode 100644 orocos-yarp_transport/Makefile
 create mode 100644 orocos-yarp_transport/PLIST
 create mode 100644 orocos-yarp_transport/depend.mk
 create mode 100644 orocos-yarp_transport/distinfo

diff --git a/orocos-yarp_transport/DESCR b/orocos-yarp_transport/DESCR
new file mode 100644
index 00000000..65fd6638
--- /dev/null
+++ b/orocos-yarp_transport/DESCR
@@ -0,0 +1,3 @@
+The YARP transport for Orocos provides a Communication framework to connect ports of components
+using the YARP middleware.
+
diff --git a/orocos-yarp_transport/Makefile b/orocos-yarp_transport/Makefile
new file mode 100644
index 00000000..303d35f0
--- /dev/null
+++ b/orocos-yarp_transport/Makefile
@@ -0,0 +1,41 @@
+# robotpkg Makefile for:	middleware/orocos-yarp_transport
+# Created:			Charles Lesire on Tue, 10 Sep 2013
+#
+NAME=			orocos-yarp_transport
+VERSION=		20140327
+DISTNAME=		${NAME}-${VERSION}
+CATEGORIES=		middleware
+
+DISTFILES=		7181f3649978b3cc75d22424c47ad9c4b9d84b51.tar.gz
+MASTER_SITES=		https://gitorious.org/orocos-communication/yarp-transport/archive/
+MASTER_REPOSITORY=	git git://gitorious.org/orocos-communication/yarp-transport.git
+WRKSRC=			${WRKDIR}/orocos-communication-yarp-transport
+
+MAINTAINER=		charles.lesire@onera.fr
+COMMENT=		The YARP transport for the Orocos toolchain
+LICENSE=		gnu-lgpl-v2.1
+HOMEPAGE=		http://gitorious.org/orocos-communication/yarp-transport
+
+DEPEND_ABI.orocos-rtt =	orocos-rtt>=2.5
+DEPEND_ABI.yarp = yarp>=2.2
+
+CMAKE_ARGS+=		-DOROCOS-RTT_DIR=${PREFIX.orocos-rtt}/lib/cmake/orocos-rtt
+
+PKG_SUPPORTED_OPTIONS+=	doc
+PKG_SUGGESTED_OPTIONS+=	doc
+PKG_OPTION_DESCR.doc?=	Install ${PKGBASE} documentation
+define PKG_OPTION_SET.doc
+  CMAKE_ARGS+=		-DBUILD_DOC=ON
+  include ../sysdep/docbook.mk
+endef
+define PKG_OPTION_UNSET.doc
+  CMAKE_ARGS+=		-DBUILD_DOC=OFF
+endef
+
+include ../../middleware/orocos-rtt/depend.mk
+include ../../middleware/yarp/depend.mk
+include ../../mk/sysdep/cmake.mk
+include ../../mk/language/c++.mk
+include ../../mk/language/c.mk
+include ../../mk/robotpkg.mk
+
diff --git a/orocos-yarp_transport/PLIST b/orocos-yarp_transport/PLIST
new file mode 100644
index 00000000..53cbc938
--- /dev/null
+++ b/orocos-yarp_transport/PLIST
@@ -0,0 +1,9 @@
+@comment Tue Sep 10 19:22:57 CEST 2013
+include/orocos/yarp/YarpChannelElement.hpp
+include/orocos/yarp/YarpTemplateProtocol.hpp
+include/orocos/yarp/YarpTransport.hpp
+include/orocos/yarp/yarp_bottle_archive.hpp
+lib/orocos/gnulinux/yarp/plugins/libyarp-service-gnulinux.so
+lib/orocos/gnulinux/yarp/plugins/libyarp-transport-gnulinux.so
+lib/pkgconfig/yarp-gnulinux.pc
+${PLIST.doc}share/doc/yarp-transport/yarp-transport-doc.pdf
diff --git a/orocos-yarp_transport/depend.mk b/orocos-yarp_transport/depend.mk
new file mode 100644
index 00000000..2001670e
--- /dev/null
+++ b/orocos-yarp_transport/depend.mk
@@ -0,0 +1,26 @@
+# robotpkg depend.mk for:	middleware/orocos-yarp_transport
+# Created:			Charles Lesire on Tue, 10 Sep 2013
+#
+
+DEPEND_DEPTH:=		${DEPEND_DEPTH}+
+OROCOS_YARP_DEPEND_MK:=${OROCOS_YARP_DEPEND_MK}+
+
+ifeq (+,$(DEPEND_DEPTH))
+DEPEND_PKG+=		orocos-yarp_transport
+endif
+
+ifeq (+,$(OROCOS_YARP_DEPEND_MK))
+PREFER.orocos-dot_service?=	robotpkg
+
+DEPEND_USE+=		orocos-yarp_transport
+
+DEPEND_ABI.orocos-yarp_transport?=	orocos-yarp_transport>=20140000
+DEPEND_DIR.orocos-yarp_transport?=	../../wip/orocos-yarp_transport
+
+SYSTEM_SEARCH.orocos-yarp_transport= \
+	lib/orocos/gnulinux/yarp/plugins/libyarp-transport-gnulinux.so \
+	include/orocos/yarp/YarpTransport.hpp \
+	lib/pkgconfig/yarp-gnulinux.pc
+endif
+
+DEPEND_DEPTH:=		${DEPEND_DEPTH:+=}
diff --git a/orocos-yarp_transport/distinfo b/orocos-yarp_transport/distinfo
new file mode 100644
index 00000000..bbe6bc1f
--- /dev/null
+++ b/orocos-yarp_transport/distinfo
@@ -0,0 +1,3 @@
+SHA1 (7181f3649978b3cc75d22424c47ad9c4b9d84b51.tar.gz) = 2ae0adfee0775c7d5275b445e3fedf8fadeb5fd2
+RMD160 (7181f3649978b3cc75d22424c47ad9c4b9d84b51.tar.gz) = 2040d9489c11a2bffcb4f99ffea7929e882de201
+Size (7181f3649978b3cc75d22424c47ad9c4b9d84b51.tar.gz) = 14647 bytes
-- 
GitLab