view tool_dependencies.xml @ 1:5686c79a72d5 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_lapack_3_4 commit e10d6e2c4435771dc6f44d940359c1a31c0d6742-dirty
author iuc
date Fri, 17 Jul 2015 10:34:29 -0400
parents 98a7d116c15f
children e87b2acfb5d2
line wrap: on
line source

<tool_dependency>
    <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 type="shell_command">mkdir build</action>
                <action type="shell_command">
                    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>

                <action type="set_environment">
                    <environment_variable name="LAPACK_LIB_DIR" action="set_to">$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>
    </package>
</tool_dependency>