view tool_dependencies.xml @ 1:f0f48b09273f draft

Uploaded
author bgruening
date Thu, 14 Nov 2013 13:07:15 -0500
parents 6b370f3d9376
children 50cf95930bb6
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="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="Qt" version="4.8">
        <repository changeset_revision="64344b23c64c" name="package_qt_4_8" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.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="5ccfb33b5622" name="package_libtool_2_4" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="libtool" version="2.4" />
                    </repository>
                    <repository changeset_revision="64344b23c64c" name="package_qt_4_8" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="Qt" version="4.8 " />
                    </repository>
                </action>

                <action type="change_directory">contrib</action>
                <action type="shell_command">cmake .</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/
        </readme>
    </package>
</tool_dependency>