From 0979d90319160cbcea4c11fb895fc900bdae9c18 Mon Sep 17 00:00:00 2001
From: Anthony Mallet <anthony.mallet@laas.fr>
Date: Fri, 19 Oct 2012 17:30:20 +0200
Subject: [PATCH] [wip/tcl-genomix] Import tcl-genomix-1.0

tcl-genomix package provides a TCL package that interacts with the genomix HTTP
server and can control GenoM3 components.

It can prompt interactively for arguments of services. Services can be invoked
synchronously or asynchronously and callbacks can be triggered whenever
services complete.

tcl-genomix is best used in combination with the interactive eltclsh shell.
---
 Makefile              |  1 +
 tcl-genomix/DESCR     |  8 ++++++++
 tcl-genomix/Makefile  | 22 ++++++++++++++++++++++
 tcl-genomix/PLIST     | 11 +++++++++++
 tcl-genomix/depend.mk | 26 ++++++++++++++++++++++++++
 tcl-genomix/distinfo  |  3 +++
 6 files changed, 71 insertions(+)
 create mode 100644 tcl-genomix/DESCR
 create mode 100644 tcl-genomix/Makefile
 create mode 100644 tcl-genomix/PLIST
 create mode 100644 tcl-genomix/depend.mk
 create mode 100644 tcl-genomix/distinfo

diff --git a/Makefile b/Makefile
index 88dff2c0..5db0dbdc 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,7 @@ SUBDIR+=	ros18-base
 SUBDIR+=	roscpp-core
 SUBDIR+=	rospack
 SUBDIR+=	spark-genom
+SUBDIR+=	tcl-genomix
 SUBDIR+=	trajectory_monitor-genom
 SUBDIR+=	transgen3
 SUBDIR+=	visp
diff --git a/tcl-genomix/DESCR b/tcl-genomix/DESCR
new file mode 100644
index 00000000..587961f7
--- /dev/null
+++ b/tcl-genomix/DESCR
@@ -0,0 +1,8 @@
+tcl-genomix package provides a TCL package that interacts with the genomix HTTP
+server and can control GenoM3 components.
+
+It can prompt interactively for arguments of services. Services can be invoked
+synchronously or asynchronously and callbacks can be triggered whenever
+services complete.
+
+tcl-genomix is best used in combination with the interactive eltclsh shell.
diff --git a/tcl-genomix/Makefile b/tcl-genomix/Makefile
new file mode 100644
index 00000000..07b82d6f
--- /dev/null
+++ b/tcl-genomix/Makefile
@@ -0,0 +1,22 @@
+# robotpkg Makefile for:	supervision/tcl-genomix
+# Created:			Anthony Mallet on Fri, 19 Oct 2012
+#
+
+DISTNAME=	tcl-genomix-1.0
+CATEGORIES=	supervision
+MASTER_SITES=	${MASTER_SITE_OPENROBOTS:=tcl-genomix/}
+MASTER_REPOSITORY= git git://git.openrobots.org/git/robots/tcl-genomix
+
+MAINTAINER=	mallet@laas.fr
+HOMEPAGE=	https://homepages.laas.fr/mallet/soft/architecture/genom3
+COMMENT=	Interactive genomix TCL client for controlling GenoM3 components
+
+LICENSE=	2-clause-bsd
+
+GNU_CONFIGURE=	yes
+NOT_FOR_PLATFORM=	# empty
+
+DEPEND_ABI.tcl=	tcl>=8.5
+
+include ../../mk/sysdep/tcl.mk
+include ../../mk/robotpkg.mk
diff --git a/tcl-genomix/PLIST b/tcl-genomix/PLIST
new file mode 100644
index 00000000..eef23ffe
--- /dev/null
+++ b/tcl-genomix/PLIST
@@ -0,0 +1,11 @@
+@comment Fri Oct 19 17:27:19 CEST 2012
+lib/pkgconfig/tcl-genomix.pc
+share/tcl-genomix/http.tcl
+share/tcl-genomix/json.tcl
+share/tcl-genomix/main.tcl
+share/tcl-genomix/module.tcl
+share/tcl-genomix/pkgIndex.tcl
+share/tcl-genomix/pmt.tcl
+share/tcl-genomix/server.tcl
+share/tcl-genomix/uri.tcl
+share/tcl-genomix/version.tcl
diff --git a/tcl-genomix/depend.mk b/tcl-genomix/depend.mk
new file mode 100644
index 00000000..1c25092e
--- /dev/null
+++ b/tcl-genomix/depend.mk
@@ -0,0 +1,26 @@
+# robotpkg depend.mk for:	supervision/tcl-genomix
+# Created:			Anthony Mallet on Fri, 19 Oct 2012
+#
+
+DEPEND_DEPTH:=			${DEPEND_DEPTH}+
+TCL_TCL-GENOMIX_DEPEND_MK:=	${TCL_TCL-GENOMIX_DEPEND_MK}+
+
+ifeq (+,$(DEPEND_DEPTH))
+DEPEND_PKG+=		tcl-genomix
+endif
+
+ifeq (+,$(TCL_TCL-GENOMIX_DEPEND_MK)) # ----------------------------------------
+
+DEPEND_USE+=		tcl-genomix
+PREFER.tcl-genomix?=	robotpkg
+
+SYSTEM_SEARCH.tcl-genomix=\
+	share/tcl-genomix/pkgIndex.tcl				\
+	'/pkgconfig/tcl-genomix.pc:/Version/s/[^0-9.]//gp'
+
+DEPEND_ABI.tcl-genomix?=	tcl-genomix>=1.0
+DEPEND_DIR.tcl-genomix?=	../../wip/tcl-genomix
+
+endif # TCL_TCL-GENOMIX_DEPEND_MK ----------------------------------------------
+
+DEPEND_DEPTH:=			${DEPEND_DEPTH:+=}
diff --git a/tcl-genomix/distinfo b/tcl-genomix/distinfo
new file mode 100644
index 00000000..2e0efb65
--- /dev/null
+++ b/tcl-genomix/distinfo
@@ -0,0 +1,3 @@
+SHA1 (tcl-genomix-1.0.tar.gz) = df88a0e5bcfa538f54af7f0c7a1f1302f3c878f2
+RMD160 (tcl-genomix-1.0.tar.gz) = 367f1113e5a4ef3ab1710b6d872355396133fc5b
+Size (tcl-genomix-1.0.tar.gz) = 68438 bytes
-- 
GitLab