changeset 0:62f9f5ddf0bf

Uploaded
author anmoljh
date Thu, 03 Sep 2015 07:18:31 -0400
parents
children 93ce0192b9db
files tool_dependencies.xml
diffstat 1 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Sep 03 07:18:31 2015 -0400
@@ -0,0 +1,25 @@
+<?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/ncurses</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/ncurses</environment_variable>
+                    <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/include/ncurses</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>