view tool_dependencies.xml @ 2:ac22c6f7ae1d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_eigen_2_0 commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
author iuc
date Sun, 01 Nov 2015 05:49:26 -0500
parents 24d860ee7f16
children 5bdf427f9feb
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="cmake" version="3.2.3">
        <repository changeset_revision="1aea698a1c63" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>

    <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 * $INSTALL_DIR/unpacked_source</action>
                <action type="make_directory">build</action>
                <action type="change_directory">build</action>

                <action type="set_environment_for_install">
                    <repository changeset_revision="1aea698a1c63" name="package_cmake_3_2_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="cmake" version="3.2.3" />
                    </repository>
                 </action>

                <action type="shell_command">cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/eigen3/</action>
                <action type="make_install" />

                <action type="set_environment">
                    <environment_variable action="set_to" name="EIGEN2_SOURCE_PATH">$INSTALL_DIR/unpacked_source</environment_variable>
                    <environment_variable action="set_to" name="EIGEN2_INCLUDE_PATH">$INSTALL_DIR/eigen2/include</environment_variable>
                    <environment_variable action="set_to" name="EIGEN2_LIB_PATH">$INSTALL_DIR/eigen2/lib</environment_variable>
                </action>
            </actions>
        </install>
        <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>