diff tool_dependencies.xml @ 0:4a73b5059c22 draft

Uploaded
author bgruening
date Thu, 15 Aug 2013 03:31:39 -0400
parents
children 731ad135ddb4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Aug 15 03:31:39 2013 -0400
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="eigen2" version="2.0.17">
+        <repository changeset_revision="a66c1f4d3c68" name="package_eigen_2_0" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="confab" version="1.0.1">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://confab.googlecode.com/files/Confab-1.0.1.tar.gz</action>
+
+                <!-- populate the environment variables from the dependend repos -->
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="a66c1f4d3c68" name="package_eigen_2_0" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
+                        <package name="eigen2" version="2.0.17" />
+                    </repository>
+                </action>
+
+                <action type="shell_command">cmake . -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN2_INCLUDE_DIR=$EIGEN2_SOURCE_PATH</action>
+                <action type="shell_command">make</action>
+                <action type="shell_command">make install</action>
+                <action type="set_environment">
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="BABEL_DATADIR">$INSTALL_DIR/share/openbabel</environment_variable>
+                    <environment_variable action="set_to" name="BABEL_LIBDIR">$INSTALL_DIR/lib/openbabel/2.2.99</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>Compiling Confab requires g++, CMake 2.4+. Optional but required for a few features is libxml2 and zlib.</readme>
+    </package>
+</tool_dependency>