view tool_dependencies.xml @ 2:4ac14b5bacf1

Uploaded
author bgruening
date Fri, 26 Apr 2013 09:05:20 -0400
parents 54edf22c93c0
children b5abf2862e97
line wrap: on
line source

<tool_dependency>
    <package name="numpy" version="1.7.1">
        <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_numpy_1_7" owner="bgruening" changeset_revision="c3041382815c" prior_installation_required="True" />
    </package>
    <package name="openbabel" version="2.3.2">
        <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_openbabel_2_3" owner="bgruening" changeset_revision="6fd6b904eeff" prior_installation_required="True" />
    </package>
    <package name="rdkit" version="2012_12_1">
        <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_rdkit_2012_12" owner="bgruening" changeset_revision="0adc830e7d71" />
    </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 toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_openbabel_2_3" owner="bgruening" changeset_revision="6fd6b904eeff">
                        <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 name="PATH" action="prepend_to">$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 name="PATH" action="prepend_to">$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 name="PATH" action="prepend_to">$INSTALL_DIR/shape-it/bin</environment_variable>
                </action>

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