Mercurial > repos > jasonk > package_metavelvet_sl_1_0
diff tool_dependencies.xml @ 3:099aaf4d1b2e draft
Uploaded
author | jasonk |
---|---|
date | Wed, 18 Jan 2017 01:16:28 -0500 |
parents | |
children | 8394553167b6 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Wed Jan 18 01:16:28 2017 -0500 @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="metavelvet_sl" version="1.0"> + <install version="1.0"> + <actions> + <action type="download_by_url">http://metavelvet.dna.bio.keio.ac.jp/srcSL/MetaVelvetSLv1.0.tar.gz</action> + <action type="shell_command">make MAXKMERLENGTH=128 CATEGORIES=3</action> + <action type="move_file"> + <source>meta-velvete</source> + <destination>$INSTALL_DIR</destination> + </action> + <action type="move_file"> + <source>meta-velvetg</source> + <destination>$INSTALL_DIR</destination> + </action> + + <action type="download_by_url">http://www.csie.ntu.edu.tw/~cjlin/cgi-bin/libsvm.cgi?+http://www.csie.ntu.edu.tw/~cjlin/libsvm+tar.gz</action> + <action type="change_directory">libsvm*</action> + <action type="shell_command">make</action> + <action type="move_file"> + <source>svm-predict</source> + <destination>$INSTALL_DIR</destination> + </action> + <action type="move_file"> + <source>svm-train</source> + <destination>$INSTALL_DIR</destination> + </action> + + <action type="move_file"> + <source>svm-scale</source> + <destination>$INSTALL_DIR</destination> + </action> + <action type="set_environment"> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable> + </action> + </actions> + + + + </install> + </package> +</tool_dependency>