view tool_dependencies.xml @ 11:337c3e2273dd

Uploaded
author bgruening
date Tue, 14 May 2013 17:04:05 -0400
parents 31edc1b81131
children f2ad414ef5fb
line wrap: on
line source

<tool_dependency>
    <package name="eigen2" version="2.0.17">
        <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_2_0" owner="bgruening" changeset_revision="7293f118efef" prior_installation_required="True" />
    </package>
    <package name="confab" version="1.0.1">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://confab.googlecode.com/files/Confab-1.0.1.tar.gz</action>

                <!-- populate the environment variables from the dependend repos -->
                <action type="set_environment_for_install">
                    <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_2_0" owner="bgruening" changeset_revision="7293f118efef">
                        <package name="eigen2" version="2.0.17" />
                    </repository>
                </action>

                <action type="shell_command">cmake . -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN2_INCLUDE_DIR=$EIGEN_SOURCE_PATH</action>
                <action type="shell_command">make</action>
                <action type="shell_command">make install</action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>Compiling Confab requires g++, CMake 2.4+. Optional but required for a few features is libxml2 and zlib.</readme>
    </package>
</tool_dependency>