Repository 'package_readline_6_2'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/package_readline_6_2

Changeset 1:52d6f646b3b5 (2015-07-17)
Previous changeset 0:052e8df231ac (2013-08-11) Next changeset 2:5313ca2fbce6 (2016-10-06)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_readline_6_2 commit e10d6e2c4435771dc6f44d940359c1a31c0d6742-dirty
modified:
tool_dependencies.xml
b
diff -r 052e8df231ac -r 52d6f646b3b5 tool_dependencies.xml
--- a/tool_dependencies.xml Sun Aug 11 06:41:18 2013 -0400
+++ b/tool_dependencies.xml Fri Jul 17 11:06:44 2015 -0400
[
@@ -1,15 +1,33 @@
+<?xml version="1.0"?>
 <tool_dependency>
+     <package name="ncurses" version="5.9">
+        <repository changeset_revision="5e1760c773ba" name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
     <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_for_install">
+                    <repository changeset_revision="5e1760c773ba" name="package_ncurses_5_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="ncurses" version="5.9" />
+                    </repository>
+                </action>
+                <action type="shell_command">
+                    ./configure CPPFLAGS=-I$NCURSES_INCLUDE_PATH LDFLAGS=-L$NCURSES_LIB_PATH --prefix $INSTALL_DIR
+                </action>
+                <action type="shell_command">make SHLIB_LIBS=-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="append_to">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="READLINE_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
+                    <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
+                    <environment_variable action="prepend_to" name="CPLUS_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="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
+                    <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[NCURSES_LIB_PATH]</environment_variable>
+                    <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
+                    <environment_variable action="append_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                 </action>
             </actions>
         </install>