diff tool_dependencies.xml @ 1:33936a7edbc8 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_ucsc_tools_0_1 commit 17a55c401801eebf3bf15d97ac13d1fd0e4bca37-dirty
author galaxyp
date Thu, 04 Jun 2015 12:35:39 -0400
parents 7b7e399cb7e1
children 824948982abd
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Apr 06 17:58:22 2015 -0400
+++ b/tool_dependencies.xml	Thu Jun 04 12:35:39 2015 -0400
@@ -5,40 +5,28 @@
     -->
     <package name="ucsc_tools" version="0.1">
         <install version="1.0">
-            <actions>
-                <action type="download_binary">
-                    <url_template os="linux" architecture="x86_64">http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bedGraphToBigWig</url_template>
-                    <url_template os="darwin" architecture="i686">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bedGraphToBigWig</url_template>
-                    <url_template os="darwin" architecture="i386">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bedGraphToBigWig</url_template>
-                    <url_template os="darwin" architecture="x86_64">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.x86_64/bedGraphToBigWig</url_template>
-                </action>
-                <action type="chmod">
-                    <file mode="755">$INSTALL_DIR/bedGraphToBigWig</file>
-                </action>
-                <action type="download_binary">
-                    <url_template os="linux" architecture="x86_64">http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bigWigInfo</url_template>
-                    <url_template os="darwin" architecture="i686">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bigWigInfo</url_template>
-                    <url_template os="darwin" architecture="i386">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bigWigInfo</url_template>
-                    <url_template os="darwin" architecture="x86_64">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.x86_64/bigWigInfo</url_template>
-                </action>
-                <action type="chmod">
-                    <file mode="755">$INSTALL_DIR/bigWigInfo</file>
-                </action>
-                <action type="download_binary">
-                    <url_template os="linux" architecture="x86_64">http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bigWigToBedGraph</url_template>
-                    <url_template os="darwin" architecture="i686">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bigWigToBedGraph</url_template>
-                    <url_template os="darwin" architecture="i386">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bigWigToBedGraph</url_template>
-                    <url_template os="darwin" architecture="x86_64">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.x86_64/bigWigToBedGraph</url_template>
-                </action>
-                <action type="chmod">
-                    <file mode="755">$INSTALL_DIR/bigWigToBedGraph</file>
-                </action>
+            <actions_group>
+                <actions architecture="x86_64" os="linux">
+                    <action type="download_by_url">https://depot.galaxyproject.org/package/linux/x86_64/ucsc/ucsc-312-Linux-x86_64.tar.gz</action>
+                    <action type="move_directory_files">
+                        <source_directory>.</source_directory>
+                        <destination_directory>$INSTALL_DIR</destination_directory>
+                    </action>
+                </actions>
+                <!--actions architecture="x86_64" os="darwin">
+                    <action type="download_by_url"></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</environment_variable>
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/lib</environment_variable>
                     <environment_variable name="UCSC_TOOLS_ROOT_PATH" action="set_to">$INSTALL_DIR</environment_variable>
                 </action>
-             </actions>
+            </actions_group>
          </install>
-         <readme>The tools downloaded by this dependency definition are free for academic use. TODO: UCSC tools are only available with their latest version. That is not good for reproducibility.</readme>
+         <readme>The tools downloaded by this dependency definition are free for academic use.</readme>
      </package>
 </tool_dependency>