view tool_dependencies.xml @ 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
line wrap: on
line source

<?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="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 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>