changeset 2:c62da294b82e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_lapack_3_4 commit e6f0b88b7a59f0a10827fd55436b137b13cd1921
author iuc
date Fri, 09 Oct 2015 04:57:21 -0400
parents 73854db866e7
children b5caa0c1be7b
files tool_dependencies.xml
diffstat 1 files changed, 20 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue Oct 15 12:37:19 2013 -0400
+++ b/tool_dependencies.xml	Fri Oct 09 04:57:21 2015 -0400
@@ -1,23 +1,34 @@
+<?xml version="1.0"?>
 <tool_dependency>
+    <package name="cmake" version="3.2.3">
+        <repository changeset_revision="e932c7599efd" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+    </package>
+    
     <package name="lapack" version="3.4.2">
         <install version="1.0">
             <actions>
-                <!-- first action is always downloading -->
-                <action type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action>
+                <action sha256sum="60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0" type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action>
+                
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="e932c7599efd" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
+                        <package name="cmake" version="3.2.3" />
+                    </repository>
+                </action>
 
-                <action type="shell_command">mkdir build</action>
                 <action type="shell_command">
+                    mkdir build &amp;&amp;
                     cd build &amp;&amp;
-                    cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DCMAKE_Fortran_FLAGS='-O2 -fPIC'
-                </action>
-                <action type="shell_command">cd build &amp;&amp; make</action>
-                <action type="shell_command">cd build &amp;&amp; make install</action>
+                    cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DCMAKE_Fortran_FLAGS='-O2 -fPIC' &amp;&amp;
+                    
+                    make &amp;&amp;
+                    make install
+                    </action>
 
                 <action type="set_environment">
-                    <environment_variable name="LAPACK_LIB_DIR" action="set_to">$INSTALL_DIR/lapack/lib</environment_variable>
+                    <environment_variable action="set_to" name="LAPACK_LIB_DIR">$INSTALL_DIR/lapack/lib</environment_variable>
                 </action>
             </actions>
         </install>
-        <readme>LAPACK requires gcc and gfortran. LAPACK_LIB_DIR will be set (including liblapack.a and libblas.a). </readme>
+        <readme>LAPACK requires gcc, gfortran and cmake. LAPACK_LIB_DIR will be set (including liblapack.a and libblas.a). </readme>
     </package>
 </tool_dependency>