view tool_dependencies.xml @ 9:55e57243b131

Add install PREFIX to make install command in tool_dependencies.xml
author Jim Johnson <jj@umn.edu>
date Thu, 13 Sep 2012 19:54:21 -0500
parents 438677e99ef8
children 211ca88ce047
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="cd-hit" version="4.6.1">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://cdhit.googlecode.com/files/cd-hit-v4.6.1-2012-08-27.tgz</action>
                <action type="shell_command">mkdir -p $INSTALL_DIR/bin/</action>
                <action type="shell_command">pwd</action>
                <action type="shell_command">ls</action>
                <action type="shell_command">cd cd-hit-v4.6.1-2012-08-27</action>
                <action type="shell_command">make openmp=yes</action>
                <action type="shell_command">make PREFIX=$INSTALL_DIR/bin/ install</action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
These links provide information for building the cdhit package:

http://weizhong-lab.ucsd.edu/cd-hit/

https://code.google.com/p/cdhit/

https://code.google.com/p/cdhit/source/browse/README

        </readme>
    </package>
</tool_dependency>