view tool_dependencies.xml @ 1:dba0743fae3d draft

Uploaded
author bgruening
date Thu, 14 Nov 2013 13:07:57 -0500
parents 021710bed779
children 22f618a19f69
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="efd2620ae8bd" name="package_qt_4_8" 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="efd2620ae8bd" name="package_qt_4_8" owner="iuc" toolshed="http://toolshed.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>