view tool_dependencies.xml @ 0:0afd4de912bb draft default tip

Uploaded
author mvdbeek
date Tue, 07 Apr 2015 12:05:51 -0400
parents
children
line wrap: on
line source

<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 &gt;&gt; tmp.txt; sed -n '27p' parse-line-help.c &gt;&gt; tmp.txt; sed -n '18,26p' parse-line-help.c &gt;&gt; tmp.txt;  sed -n '28,67p' parse-line-help.c &gt;&gt; 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>