view tool_dependencies.xml @ 0:052e8df231ac draft

initial upload
author iuc
date Sun, 11 Aug 2013 06:41:18 -0400
parents
children 52d6f646b3b5
line wrap: on
line source

<tool_dependency>
    <package name="readline" version="6.2">
        <install version="1.0">
            <actions>
                <action type="download_by_url">ftp://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz</action>
                <action type="make_directory">$INSTALL_DIR</action>
                <action type="shell_command">./configure --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</action>
                <action type="set_environment">
                    <environment_variable name="READLINE_INCLUDE_PATH" action="set_to">$INSTALL_DIR/include</environment_variable>
                    <environment_variable name="READLINE_LIB_PATH" action="set_to">$INSTALL_DIR/lib</environment_variable>
                    <environment_variable name="READLINE_BIN_PATH" action="set_to">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable name="PATH" action="append_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in.
        www.gnu.org/software/readline
        </readme>
    </package>
</tool_dependency>