view tool_dependencies.xml @ 10:8608dc490e8a draft default tip

Uploaded
author bgruening
date Thu, 29 Jan 2015 07:34:55 -0500
parents 95462a64e4e1
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="libtool" version="2.4">
        <repository changeset_revision="5ccfb33b5622" name="package_libtool_2_4" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="Qt" version="4.8">
        <repository changeset_revision="d05194d4dc93" name="package_qt_4_8" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="zlib" version="1.2.8">
        <repository changeset_revision="03abe628fbe8" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="bzlib" version="1.0.6">
        <repository changeset_revision="d971aef661a7" name="package_bzlib_1_0" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
    </package>
    <!--package name="boost" version="1.55.0">
        <repository name="package_boost_1_55" owner="iuc" prior_installation_required="True" />
    </package-->
    <package name="openms" version="1.12">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://share.gruenings.eu/OpenMS.tar.bz2</action>
                <!-- populate the environment variables from the dependend repos -->
                <action type="set_environment_for_install">
                    <repository changeset_revision="5ccfb33b5622" name="package_libtool_2_4" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
                        <package name="libtool" version="2.4" />
                    </repository>
                    <repository changeset_revision="d05194d4dc93" name="package_qt_4_8" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
                        <package name="Qt" version="4.8" />
                    </repository>
                    <repository changeset_revision="03abe628fbe8" name="package_zlib_1_2_8" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
                        <package name="zlib" version="1.2.8" />
                    </repository>
                    <repository changeset_revision="d971aef661a7" name="package_bzlib_1_0" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
                        <package name="bzlib" version="1.0.6" />
                    </repository>
                    <!--repository name="package_boost_1_55" owner="iuc">
                        <package name="boost" version="1.55.0" />
                    </repository-->
                </action>

                <action type="change_directory">contrib</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=SEQAN</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=LIBSVM</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=XERCESC</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=GSL</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=BOOST -DNUMBER_OF_JOBS=12</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=COINOR</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=BZIP2</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=GLPK</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=EIGEN</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=WILDMAGIC</action>

                <action type="change_directory">..</action>
                <!-- -DBoost_INCLUDE_DIR=$BOOST_ROOT_DIR/include/ -->
                <action type="shell_command">cmake . -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DHAS_XSERVER=OFF -DENABLE_TUTORIALS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DENABLE_STYLE_TESTING=OFF -DENABLE_UNITYBUILD=OFF -DWITH_GUI=OFF</action>
                <action type="shell_command">make OpenMS TOPP UTILS</action>
                <action type="shell_command">make install</action>
                <!-- ToDo can we get it easily without svn? Is this included in the final tarball? -->
                <!-- svn checkout http://svn.code.sf.net/p/open-ms/code/THIRDPARTY/SEARCHENGINES/Linux/64bit/ _searchengines -->
                <action type="set_environment">
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
                    <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[QT_ROOT_DIR]/lib/</environment_variable>
                    <environment_variable action="set_to" name="OPENMS_ROOT_PATH">$INSTALL_DIR</environment_variable>
                    <environment_variable action="set_to" name="OPENMS_DATA_PATH">$INSTALL_DIR/share/OpenMS/</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
            This package downloads and installs OpenMS.
            http://open-ms.sourceforge.net/
        </readme>
    </package>
</tool_dependency>