view tool_dependencies.xml @ 7:94294cfe0614

Uploaded
author bgruening
date Thu, 23 May 2013 17:30:47 -0400
parents a3dfd1432e43
children 147814e45209
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="numpy" version="1.7.1">
        <repository changeset_revision="7283651b62fe" name="package_numpy_1_7" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="openbabel" version="2.3.2">
        <repository changeset_revision="ccda1b8ebc72" name="package_openbabel_2_3" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="rdkit" version="2012_12_1">
        <repository changeset_revision="5685fab7ecc2" name="package_rdkit_2012_12" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="silicos_it" version="1.0.0">
        <install version="1.0">
            <actions>
                <!-- first action is always downloading -->
                <action type="download_by_url">http://www.silicos-it.com/_php/download.php?file=strip-it-1.0.1.tar.gz</action>

                <!-- populate the environment variables from the dependend repos 
                    $OPENBABEL_INCLUDE_DIR and $OPENBABEL_LIB_DIR
                -->
                <action type="set_environment_for_install">
                    <repository changeset_revision="ccda1b8ebc72" name="package_openbabel_2_3" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="openbabel" version="2.3.2" />
                    </repository>
                </action>

                <!--compiling strip-it -->
                <action type="shell_command">
                    cd strip-it-1.0.1 &amp;&amp;
                    cmake . -DOPENBABEL2_INCLUDE_DIRS=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/strip-it/ -DOPENBABEL2_LIBRARIES=$OPENBABEL_LIB_DIR/libopenbabel.so &amp;&amp; 
                    make  &amp;&amp;
                    make install</action>
                <action type="set_environment">
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/strip-it/bin</environment_variable>
                </action>

                <!-- compiling align-it -->
                <action type="shell_command">wget http://www.silicos-it.com/_php/download.php?file=align-it-1.0.3.tar.gz</action>
                <action type="shell_command">tar xfvz download.php?file=align-it-1.0.3.tar.gz &amp;&amp; 
                    cd align-it-1.0.3 &amp;&amp; 
                    cmake . -DOPENBABEL2_INCLUDE_DIRS=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/align-it/ -DOPENBABEL2_LIBRARIES=$OPENBABEL_LIB_DIR/libopenbabel.so &amp;&amp; 
                    make &amp;&amp; 
                    make install</action>
                <action type="set_environment">
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/align-it/bin</environment_variable>
                </action>

                <!-- compiling shape-it -->
                <action type="shell_command">wget http://www.silicos-it.com/_php/download.php?file=shape-it-1.0.1.tar.gz</action>
                <action type="shell_command">tar xfvz download.php?file=shape-it-1.0.1.tar.gz &amp;&amp; 
                    cd shape-it-1.0.1 &amp;&amp; 
                    cmake . -DOPENBABEL2_INCLUDE_DIRS=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/shape-it/ -DOPENBABEL2_LIBRARIES=$OPENBABEL_LIB_DIR/libopenbabel.so &amp;&amp; 
                    make &amp;&amp; 
                    make install</action>
                <action type="set_environment">
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/shape-it/bin</environment_variable>
                </action>

            </actions>
        </install>
        <readme>Compiling silicos-it requires g++ and CMake 2.4+.</readme>
    </package>
</tool_dependency>