Repository 'package_eigen_2_0'
hg clone https://testtoolshed.g2.bx.psu.edu/repos/bgruening/package_eigen_2_0

Changeset 3:27df0c3f6201 (2013-05-14)
Previous changeset 2:09eb05087cd0 (2013-05-14) Next changeset 4:7293f118efef (2013-05-14)
Commit message:
Uploaded
modified:
tool_dependencies.xml
b
diff -r 09eb05087cd0 -r 27df0c3f6201 tool_dependencies.xml
--- a/tool_dependencies.xml Tue May 14 04:16:32 2013 -0400
+++ b/tool_dependencies.xml Tue May 14 16:10:49 2013 -0400
b
@@ -1,17 +1,22 @@
 <tool_dependency>
-    <package name="eigen" version="2.0.17">
+    <package name="eigen2" version="2.0.17">
         <install version="1.0">
             <actions>
                 <action type="download_by_url">http://bitbucket.org/eigen/eigen/get/2.0.17.tar.gz</action>
                 <action type="make_directory">$INSTALL_DIR/unpacked_source</action>
 
                 <action type="shell_command">cp -r ./eigen-eigen-b23437e61a07/* $INSTALL_DIR/unpacked_source</action>
+                <action type="shell_command">cmake . -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/eigen2/</action>
+                <action type="shell_command">make</action>
+                <action type="shell_command">make install</action>
 
                 <action type="set_environment">
-                    <environment_variable name="EIGEN_SOURCE_PATH" action="set_to">$INSTALL_DIR/unpacked_source</environment_variable>
+                    <environment_variable name="EIGEN2_SOURCE_PATH" action="set_to">$INSTALL_DIR/unpacked_source</environment_variable>
+                    <environment_variable name="EIGEN2_INCLUDE_PATH" action="set_to">$INSTALL_DIR/eigen2/include</environment_variable>
+                    <environment_variable name="EIGEN2_LIB_PATH" action="set_to">$INSTALL_DIR/eigen2/lib</environment_variable>
                 </action>
             </actions>
         </install>
-        <readme>Downloading the eigen2 library and unpacking it to the EIGEN_SOURCE_PATH.</readme>
+        <readme>Downloading  and compiling the eigen2 library and unpacking it to the EIGEN2_SOURCE_PATH. EIGEN2_INCLUDE_PATH and EIGEN2_LIB_PATH will be available.</readme>
     </package>
 </tool_dependency>