[Lunar-commits] <moonbase> CableSwig: Adding to moonbase.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Aug 24 11:37:41 CEST 2011


commit 940f9d7f1d4eed84e3a5458c4a51be946471e39b
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Aug 24 05:37:41 2011 -0400

    CableSwig: Adding to moonbase.
---
 devel/CableSwig/BUILD     |    5 +++++
 devel/CableSwig/CONFIGURE |    1 +
 devel/CableSwig/DEPENDS   |   10 ++++++++++
 devel/CableSwig/DETAILS   |   23 +++++++++++++++++++++++
 4 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/devel/CableSwig/BUILD b/devel/CableSwig/BUILD
new file mode 100644
index 0000000..bd4c265
--- /dev/null
+++ b/devel/CableSwig/BUILD
@@ -0,0 +1,5 @@
+(
+
+  default_cmake_build
+
+) > $C_FIFO 2>&1
diff --git a/devel/CableSwig/CONFIGURE b/devel/CableSwig/CONFIGURE
new file mode 100644
index 0000000..1c6e5e3
--- /dev/null
+++ b/devel/CableSwig/CONFIGURE
@@ -0,0 +1 @@
+mquery BUILD_EXAMPLES "Build examples?" n "-DSWIG_BUILD_EXAMPLES=ON" "-DSWIG_BUILD_EXAMPLES=OFF"
diff --git a/devel/CableSwig/DEPENDS b/devel/CableSwig/DEPENDS
new file mode 100644
index 0000000..b8fbfa3
--- /dev/null
+++ b/devel/CableSwig/DEPENDS
@@ -0,0 +1,10 @@
+depends gawk
+depends bison
+depends guile
+depends %JAVA_SDK
+depends perl
+depends %PHP
+depends Python
+depends ruby
+depends tk
+depends cmake
diff --git a/devel/CableSwig/DETAILS b/devel/CableSwig/DETAILS
new file mode 100644
index 0000000..cb8af6e
--- /dev/null
+++ b/devel/CableSwig/DETAILS
@@ -0,0 +1,23 @@
+          MODULE=CableSwig
+         VERSION=3.20.0
+          SOURCE=$MODULE-ITK-$VERSION.tar.gz
+      SOURCE_URL=$SFORGE_URL/itk/
+      SOURCE_VFY=sha1:baf59762ca43fcdec713eb2686de1045ddab9e6b
+        WEB_SITE=http://www.itk.org/ITK/resources/CableSwig.html
+         ENTERED=20110824
+         UPDATED=20110824
+           SHORT="create interfaces to interpreted languages"
+
+cat << EOF
+CableSwig is used to create interfaces (i.e. "wrappers") to interpreted languages
+such as Tcl and Python. It was created to produce wrappers for ITK because the 
+toolkit uses C++ structures that SWIG cannot parse (deeply nested template 
+instantiations). CableSwig is a combination tool that uses  GCC_XML as the c++ 
+parser. The input files are  Cable style input files. The XML produced from the 
+Cable/GCC_XML input files are then parsed and feed into a modified version of 
+SWIG. 
+
+SWIG is a software development tool that connects programs written in C and C++ 
+with a variety of high-level programming languages. It is used to generate the 
+language bindings to the target language. Currently, Tcl and Python are supported.
+EOF


More information about the Lunar-commits mailing list