Repository 'package_eigen_3_1'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/package_eigen_3_1

Changeset 0:6a1c187f36aa (2013-08-11)
Next changeset 1:b8ed0e76f501 (2013-11-15)
Commit message:
initial upload
added:
tool_dependencies.xml
b
diff -r 000000000000 -r 6a1c187f36aa tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Sun Aug 11 06:32:13 2013 -0400
b
@@ -0,0 +1,22 @@
+<tool_dependency>
+    <package name="eigen3" version="3.1.3">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://bitbucket.org/eigen/eigen/get/3.1.3.tar.gz</action>
+                <action type="make_directory">$INSTALL_DIR/unpacked_source</action>
+
+                <action type="shell_command">cp -r ./eigen-eigen-2249f9c22fe8/* $INSTALL_DIR/unpacked_source</action>
+                <action type="shell_command">mkdir ./eigen-eigen-2249f9c22fe8/build/ &amp;&amp; cd ./eigen-eigen-2249f9c22fe8/build/ &amp;&amp; cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/eigen3/</action>
+                <action type="shell_command">cd ./eigen-eigen-2249f9c22fe8/build/ &amp;&amp; make</action>
+                <action type="shell_command">cd ./eigen-eigen-2249f9c22fe8/build/ &amp;&amp; make install</action>
+
+                <action type="set_environment">
+                    <environment_variable name="EIGEN3_SOURCE_PATH" action="set_to">$INSTALL_DIR/unpacked_source</environment_variable>
+                    <environment_variable name="EIGEN3_INCLUDE_PATH" action="set_to">$INSTALL_DIR/eigen3/include</environment_variable>
+                    <environment_variable name="EIGEN3_LIB_PATH" action="set_to">$INSTALL_DIR/eigen3/lib</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>Downloading  and compiling the eigen3 library and unpacking it to the EIGEN3_SOURCE_PATH. EIGEN3_INCLUDE_PATH and EIGEN3_LIB_PATH will be available.</readme>
+    </package>
+</tool_dependency>