view tool_dependencies.xml @ 0:22493869d464 draft default tip

Uploaded
author geert-vandeweyer
date Fri, 22 May 2015 08:23:02 -0400
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="twoBitToFa" version="latest">
        <install version="1.0">
            <actions_group>

                <actions os="linux" architecture="x86_64">
                    <action type="download_file">ftp://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/twoBitToFa</action>
                    <action type="shell_command">chmod ugo+x *</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR/bin</destination_directory>
                    </action>
                </actions>

                <actions os="darwin" architecture="x86_64">
                    <action type="download_file">ftp://hgdownload.cse.ucsc.edu/admin/exe/macOSX.x86_64/twoBitToFa</action>
                    <action type="shell_command">chmod ugo+x *</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR/bin</destination_directory>
                    </action>
                </actions>

                <action type="set_environment">
                     <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions_group>
        </install>
        <readme>
Downloads and installs the latest toBitToFa from the UCSC.
It will try to install executable files from:  UCSC ftp://hgdownload.cse.ucsc.edu/admin/exe/
( The website doesn't offer previously released versions. )

        </readme>
    </package>

</tool_dependency>