view tool_dependencies.xml @ 24:1c218c2a4bd8 default tip

ChemicalToolBoX update.
author Bjoern Gruening <bjoern.gruening@gmail.com>
date Tue, 23 Jul 2013 14:54:12 +0200
parents 405b198f6379
children
line wrap: on
line source

<?xml version='1.0' encoding='utf-8'?>
<tool_dependency>
    <package name="numpy" version="1.7.1">
        <repository changeset_revision="40db34c904df" 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="3a993ff17df5" 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="4663c03127f7" 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.1">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://github.com/bgruening/silicos-it_store/raw/master/strip-it/strip-it-1.0.2.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="3a993ff17df5" 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">
                    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 https://github.com/bgruening/silicos-it_store/raw/master/align-it/align-it-1.0.3.tar.gz</action>
                <action type="shell_command">tar xfvz 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 https://github.com/bgruening/silicos-it_store/raw/master/shape-it/shape-it-1.0.1.tar.gz</action>
                <action type="shell_command">tar xfvz 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>