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

Changeset 0:ca1a9400d4e1 (2015-09-21)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_readline_6_3 commit 1ddb71f5953e86441c06326980abd33168087e50
added:
tool_dependencies.xml
b
diff -r 000000000000 -r ca1a9400d4e1 tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Mon Sep 21 10:20:15 2015 -0400
[
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<tool_dependency>
+     <package name="ncurses" version="6.0">
+        <repository changeset_revision="c921f7ce9ca7" name="package_ncurses_6_0" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="readline" version="6.3">
+        <install version="1.0">
+            <actions>
+                <action sha256sum="56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" type="download_by_url">ftp://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz</action>
+
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="c921f7ce9ca7" name="package_ncurses_6_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="ncurses" version="6.0" />
+                    </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 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>
+        <readme>The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in.
+        www.gnu.org/software/readline
+        </readme>
+    </package>
+</tool_dependency>