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

The genomix HTTP server is a generic interface between clients and genom
components (using the generic genom C client template). Control is done be the
mean of specific HTTP GET requests (not yet documented...).
---
 Makefile          |  1 +
 genomix/DESCR     |  3 +++
 genomix/Makefile  | 24 ++++++++++++++++++++++++
 genomix/PLIST     | 10 ++++++++++
 genomix/depend.mk | 26 ++++++++++++++++++++++++++
 genomix/distinfo  |  3 +++
 6 files changed, 67 insertions(+)
 create mode 100644 genomix/DESCR
 create mode 100644 genomix/Makefile
 create mode 100644 genomix/PLIST
 create mode 100644 genomix/depend.mk
 create mode 100644 genomix/distinfo

diff --git a/Makefile b/Makefile
index cc0ddba6..88dff2c0 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ SUBDIR+=	flann
 SUBDIR+=	genom3
 SUBDIR+=	genom3-pocolibs
 SUBDIR+=	genom3-ros
+SUBDIR+=	genomix
 SUBDIR+=	gest-genom
 SUBDIR+=	hpp-geometry
 SUBDIR+=	hyper
diff --git a/genomix/DESCR b/genomix/DESCR
new file mode 100644
index 00000000..a1a2c0bb
--- /dev/null
+++ b/genomix/DESCR
@@ -0,0 +1,3 @@
+The genomix HTTP server is a generic interface between clients and genom
+components (using the generic genom C client template). Control is done be the
+mean of specific HTTP GET requests (not yet documented...).
diff --git a/genomix/Makefile b/genomix/Makefile
new file mode 100644
index 00000000..5a2a7628
--- /dev/null
+++ b/genomix/Makefile
@@ -0,0 +1,24 @@
+# robotpkg Makefile for:	architecture/genom3-ros
+# Created:			Anthony Mallet on Fri, 19 Oct 2012
+#
+
+DISTNAME=	genomix-1.0
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_OPENROBOTS:=genomix/}
+MASTER_REPOSITORY= git git://git.openrobots.org/git/robots/genomix
+
+MAINTAINER=	mallet@laas.fr
+HOMEPAGE=	https://homepages.laas.fr/mallet/soft/architecture/genom3
+COMMENT=	HTTP server for controlling GenoM3 components
+
+LICENSE=	2-clause-bsd
+
+GNU_CONFIGURE=	yes
+NOT_FOR_PLATFORM=	# empty
+
+DEPEND_ABI.tcl=	tcl>=8.5
+
+include ../../pkgtools/pkg-config/depend.mk
+include ../../wip/genom3/depend.mk
+include ../../mk/sysdep/tcl.mk
+include ../../mk/robotpkg.mk
diff --git a/genomix/PLIST b/genomix/PLIST
new file mode 100644
index 00000000..cfc8c3f3
--- /dev/null
+++ b/genomix/PLIST
@@ -0,0 +1,10 @@
+@comment Fri Oct 19 17:19:01 CEST 2012
+bin/genomixd
+lib/pkgconfig/genomix.pc
+share/genomix/main.tcl
+share/genomix/pkgIndex.tcl
+share/genomix/request.tcl
+share/genomix/server.tcl
+share/genomix/session.tcl
+share/genomix/uri.tcl
+share/genomix/version.tcl
diff --git a/genomix/depend.mk b/genomix/depend.mk
new file mode 100644
index 00000000..94f6e803
--- /dev/null
+++ b/genomix/depend.mk
@@ -0,0 +1,26 @@
+# robotpkg depend.mk for:	architecture/genomix
+# Created:			Anthony Mallet on Fri, 19 Oct 2012
+#
+
+DEPEND_DEPTH:=		${DEPEND_DEPTH}+
+GENOMIX_DEPEND_MK:=	${GENOMIX_DEPEND_MK}+
+
+ifeq (+,$(DEPEND_DEPTH))
+DEPEND_PKG+=		genomix
+endif
+
+ifeq (+,$(GENOMIX_DEPEND_MK)) # --------------------------------------------
+
+DEPEND_USE+=		genomix
+PREFER.genomix?=	robotpkg
+
+SYSTEM_SEARCH.genomix=\
+	'bin/genomixd:p:% --version'				\
+	'lib/pkgconfig/genomix.pc:/Version/s/[^0-9.]//gp'
+
+DEPEND_ABI.genomix?=	genomix>=1.0
+DEPEND_DIR.genomix?=	../../wip/genomix
+
+endif # GENOMIX_DEPEND_MK --------------------------------------------------
+
+DEPEND_DEPTH:=		${DEPEND_DEPTH:+=}
diff --git a/genomix/distinfo b/genomix/distinfo
new file mode 100644
index 00000000..e552aa4e
--- /dev/null
+++ b/genomix/distinfo
@@ -0,0 +1,3 @@
+SHA1 (genomix-1.0.tar.gz) = 69703f993aefc819ce3acb9debc7b669c19271ca
+RMD160 (genomix-1.0.tar.gz) = 786e9fa8e76e91795b985c12f267582f8cf09e53
+Size (genomix-1.0.tar.gz) = 129050 bytes
-- 
GitLab