0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="ncurses" version="5.9">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="download_by_url">http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz</action>
|
|
7 <action type="shell_command">
|
|
8 ./configure --prefix $INSTALL_DIR --with-shared
|
|
9 </action>
|
|
10 <action type="shell_command">make</action>
|
|
11 <action type="shell_command">make install</action>
|
|
12 <action type="set_environment">
|
|
13 <environment_variable action="set_to" name="NCURSES_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
|
|
14 <environment_variable action="set_to" name="NCURSES_LIB_PATH">$INSTALL_DIR/lib/</environment_variable>
|
|
15 <environment_variable action="set_to" name="NCURSES_ROOT_PATH">$INSTALL_DIR</environment_variable>
|
|
16 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
|
|
17 <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
|
|
18 </action>
|
|
19 </actions>
|
|
20 </install>
|
|
21 <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>
|
|
22 </package>
|
|
23 </tool_dependency>
|