view tool_dependencies.xml @ 9:dd3ee8e742dc

Uploaded
author bgruening
date Tue, 14 May 2013 04:41:37 -0400
parents 113e876c2ec6
children 31edc1b81131
line wrap: on
line source

<tool_dependency>
    <package name="eigen" version="2.0.17">
        <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_2_0" owner="bgruening" changeset_revision="09eb05087cd0" 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="09eb05087cd0">
                        <package name="eigen" 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+ and Eigen version 2 (libeigen2-dev). Optional but required for a few features is libxml2 and zlib.</readme>
    </package>
</tool_dependency>