changeset 1:52d6f646b3b5 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_readline_6_2 commit e10d6e2c4435771dc6f44d940359c1a31c0d6742-dirty
author iuc
date Fri, 17 Jul 2015 11:06:44 -0400
parents 052e8df231ac
children 5313ca2fbce6
files tool_dependencies.xml
diffstat 1 files changed, 24 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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>