view tool_dependencies.xml @ 2:50215e7c7efa draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_boost_1_55 commit 2e18fe350712147421228210013814bc0aeec120
author iuc
date Tue, 01 Mar 2016 11:47:28 -0500
parents f0da948c5302
children 3d6d1ff8dcbf
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="bzlib" version="1.0.6">
        <repository changeset_revision="af4887e1f595" name="package_bzlib_1_0" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="boost" version="1.55.0">
        <install version="1.0">
            <actions>
                <action sha256sum="19c4305cd6669f2216260258802a7abc73c1624758294b2cad209d45cc13a767" type="download_by_url">https://depot.galaxyproject.org/software/boost/boost_1.55.0_src_all.tar.gz</action>

                <!-- populate the environment variables from the dependend repos -->
                <action type="set_environment_for_install">
                    <repository changeset_revision="af4887e1f595" name="package_bzlib_1_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="bzlib" version="1.0.6" />
                    </repository>
                </action>
                <action type="shell_command">./bootstrap.sh</action>
                <!-- try to set the right architecture with uname -m -->
                <action type="shell_command">
                    ./bjam address-model=64 cflags=-fPIC cxxflags=-fPIC install --prefix=$INSTALL_DIR/boost/ -sBZIP2_INCLUDE=$BZLIB_INCLUDE_DIR -sBZIP2_LIB=$BZLIB_LIB_DIR -sBZIP2_SOURCE=$BZLIB_SOURCE_DIR;
                </action>
                <action type="set_environment">
                    <environment_variable action="set_to" name="BOOST_ROOT_DIR">$INSTALL_DIR/boost</environment_variable>
                    <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/boost/lib/</environment_variable>
                    <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$INSTALL_DIR/boost/include</environment_variable>
                    <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/boost/include</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
        Compiling boost requires a C++ compiler (typically gcc).
        You can access the boost root directory through the $BOOST_ROOT_DIR system variable. All modules will be build.
        Development of that wrapper happens in https://github.com/bgruening/galaxytools/.
        </readme>
    </package>
</tool_dependency>