Mercurial > repos > iuc > package_readline_6_2
changeset 2:84466a2a45e7 draft
Uploaded
| author | iuc |
|---|---|
| date | Wed, 22 Jan 2014 06:01:48 -0500 |
| parents | 4e2cf7d7b185 |
| children | e249f51b2701 |
| files | tool_dependencies.xml |
| diffstat | 1 files changed, 19 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Mon Jan 20 17:44:50 2014 -0500 +++ b/tool_dependencies.xml Wed Jan 22 06:01:48 2014 -0500 @@ -1,16 +1,28 @@ +<?xml version="1.0"?> <tool_dependency> + <package name="ncurses" version="5.9"> + <repository changeset_revision="d452343f7c91" name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> <package name="readline" version="6.2"> <install version="1.0"> <actions> + <action type="set_environment_for_install"> + <repository changeset_revision="d452343f7c91" name="package_ncurses_5_9" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu"> + <package name="ncurses" version="5.9" /> + </repository> + </action> <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="autoconf" /> + <action type="shell_command"> + ./configure CPPFLAGS=-I$NCURSES_INCLUDE_PATH --prefix $INSTALL_DIR + </action> + <action type="shell_command">make SHLIB=-lncurses</action> + <action type="shell_command">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="prepend_to">$INSTALL_DIR/bin</environment_variable> - <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/lib</environment_variable> + <environment_variable action="set_to" name="READLINE_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable> + <environment_variable action="set_to" name="READLINE_LIB_PATH">$INSTALL_DIR/lib</environment_variable> + <environment_variable action="set_to" name="READLINE_BIN_PATH">$INSTALL_DIR/bin</environment_variable> + <environment_variable action="set_to" name="READLINE_ROOT_PATH">$INSTALL_DIR</environment_variable> + <environment_variable action="append_to" name="PATH">$INSTALL_DIR/bin</environment_variable> </action> </actions> </install>
