view tool_dependencies.xml @ 2:68ee51034349 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_eigen_3_1 commit e10d6e2c4435771dc6f44d940359c1a31c0d6742-dirty
author iuc
date Fri, 17 Jul 2015 10:21:15 -0400
parents b8ed0e76f501
children 615d2c9783f7
line wrap: on
line source

<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 * $INSTALL_DIR/unpacked_source</action>
                <action type="make_directory">build</action>
                <action type="change_directory">build</action>
                <action type="shell_command">cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/eigen3/</action>
                <action type="make_install" />

                <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>
                    <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/eigen3/lib</environment_variable>
                    <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/eigen3/include</environment_variable>
                    <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/eigen3/include</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>