Mercurial > repos > mvdbeek > package_patser_v3e
changeset 0:0afd4de912bb draft default tip
Uploaded
author | mvdbeek |
---|---|
date | Tue, 07 Apr 2015 12:05:51 -0400 |
parents | |
children | |
files | tool_dependencies.xml |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Tue Apr 07 12:05:51 2015 -0400 @@ -0,0 +1,20 @@ +<tool_dependency> + <package name="patser" version="v3e"> + <install version="1.0"> + <actions> + <action type="download_by_url">http://stormo.wustl.edu/src/patser-v3e.1.tar.gz</action> + <action type="make_directory">$INSTALL_DIR/bin/</action> + <action type="shell_command">sed -n '1,17p' parse-line-help.c >> tmp.txt; sed -n '27p' parse-line-help.c >> tmp.txt; sed -n '18,26p' parse-line-help.c >> tmp.txt; sed -n '28,67p' parse-line-help.c >> tmp.txt; mv tmp.txt parse-line-help.c</action> + <action type="shell_command">make</action> + <action type="move_file"> + <source>patser-v3e</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 patser requires gcc and sed.</readme> + </package> +</tool_dependency>