view tool_dependencies.xml @ 2:5e1760c773ba draft

Uploaded
author iuc
date Sat, 26 Jul 2014 09:42:35 -0400
parents 71e3f4bfd1a9
children 335417c1475e
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="ncurses" version="5.9">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz</action>
                <action type="shell_command">
                    ./configure --prefix $INSTALL_DIR --with-shared --enable-symlinks
                </action>
                <action type="shell_command">make</action>
                <action type="shell_command">make install</action>
                <action type="set_environment">
                    <environment_variable action="set_to" name="NCURSES_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
                    <environment_variable action="set_to" name="NCURSES_LIB_PATH">$INSTALL_DIR/lib/</environment_variable>
                    <environment_variable action="set_to" name="NCURSES_ROOT_PATH">$INSTALL_DIR</environment_variable>
                    <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
                    <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
                    <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/include</environment_variable>
                    <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/include</environment_variable>
                </action>
            </actions>
        </install>
        <readme>ncurses (new curses) is a programming library that provides an API which allows the programmer to write text-based user interfaces in a terminal-independent manner</readme>
    </package>
</tool_dependency>