view tool_dependencies.xml @ 2:22f618a19f69 draft

Uploaded
author bgruening
date Fri, 15 Nov 2013 06:48:39 -0500
parents dba0743fae3d
children c2722f62c7ad
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="zlib" version="1.2.8">
        <repository changeset_revision="a7636aa0a747" name="package_zlib_1_2_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>
                    <repository changeset_revision="a7636aa0a747" name="package_zlib_1_2_8" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
                        <package name="zlib" version="1.2.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/
            
            Requirements: OpenGL is needed to compile OpenMS. You can find libopengl.so usually in some mesa libraries.
        </readme>
    </package>
</tool_dependency>