view tool_dependencies.xml @ 3:c2722f62c7ad draft

Uploaded
author bgruening
date Tue, 19 Nov 2013 18:26:39 -0500
parents 22f618a19f69
children b4b3c6103f36
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="libtool" version="2.4">
        <repository changeset_revision="7f67694b167c" name="package_libtool_2_4" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="Qt" version="4.8">
        <repository changeset_revision="07e57d7a3fe2" name="package_qt_4_8" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="zlib" version="1.2.8">
        <repository changeset_revision="31f1e69aae89" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="boost" version="1.53.0">
        <repository changeset_revision="dbdde1a2d0c5" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="openms" version="1.11.1">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://downloads.sourceforge.net/project/open-ms/OpenMS/OpenMS-1.11.1/OpenMS-1.11.1.tar.gz</action>

                <!-- populate the environment variables from the dependend repos -->
                <action type="set_environment_for_install">
                    <repository changeset_revision="7f67694b167c" name="package_libtool_2_4" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
                        <package name="libtool" version="2.4" />
                    </repository>
                    <repository changeset_revision="07e57d7a3fe2" name="package_qt_4_8" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
                        <package name="Qt" version="4.8 " />
                    </repository>
                    <repository changeset_revision="31f1e69aae89" name="package_zlib_1_2_8" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
                        <package name="zlib" version="1.2.8 " />
                    </repository>
                    <repository changeset_revision="dbdde1a2d0c5" name="package_boost_1_53" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
                        <package name="boost" version="1.53.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=COINOR</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=BZIP2</action>
                <action type="shell_command">cmake . -DBUILD_TYPE=GLPK</action>

                <action type="change_directory">..</action>
                <action type="shell_command">cmake . -DINSTALL_PREFIX=$INSTALL_DIR</action>
                <action type="shell_command">make doc_minimal</action>
                <action type="shell_command">make install</action>
                <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>
                </action>
            </actions>
        </install>
        <readme>
            This package downloads and installs OpenMS.
            http://open-ms.sourceforge.net/
            
            Requirements: OpenGL is needed to compile OpenMS. You can find libopengl.so usually in some mesa libraries.
        </readme>
    </package>
</tool_dependency>