changeset 0:972185ceaddc draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_libsvm_3_16 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
author iuc
date Tue, 19 May 2015 14:59:14 -0400
parents
children
files tool_dependencies.xml
diffstat 1 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Tue May 19 14:59:14 2015 -0400
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="libsvm" version="3.16">
+        <install version="1.0">
+            <actions>
+                <action type="shell_command">git clone --recursive https://github.com/cjlin1/libsvm.git</action>
+                <action type="shell_command">git reset --hard 041496b61214aff1beba02c8f2957e80bd90c234</action>
+                <action type="shell_command">make</action>
+                <action type="move_file">
+                    <source>svm-train</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+                <action type="move_file">
+                    <source>svm-scale</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+                <action type="move_file">
+                    <source>svm-predict</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+                <action type="set_environment">
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+            Compiling libsvm. Required is a C++ compiler (typically g++).
+            svm-train, svm-scale and svm-predict will be available in $PATH.
+        </readme>
+    </package>
+</tool_dependency>
+