view tool_dependencies.xml @ 0:ee7a28372e5e draft default tip

Imported from capsule None
author jjohnson
date Thu, 25 Sep 2014 14:05:15 -0400
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="misp" version="2013-11-28">
        <install version="1.0">
            <actions>
                <action type="shell_command">hg clone https://bitbucket.org/hanfeisun/misp misp</action>
                <action type="shell_command">hg update -d 2013-11-28</action>
                <action type="shell_command">make</action>
                <action type="shell_command">chmod 755 scripts/*</action>
                <action type="make_directory">$INSTALL_DIR/bin</action>
                <action type="make_directory">$INSTALL_DIR/database</action>
                <action type="move_file">
                    <source>misp</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="move_directory_files">
                    <source_directory>scripts</source_directory>
                    <destination_directory>$INSTALL_DIR/bin</destination_directory>
                </action>
                <action type="move_directory_files">
                    <source_directory>database</source_directory>
                    <destination_directory>$INSTALL_DIR/database</destination_directory>
                </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable name="MISP_DATABASE_PATH" action="set_to">$INSTALL_DIR/database</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
misp: a fast Motif Scanner
https://bitbucket.org/hanfeisun/misp
        </readme>
    </package>
</tool_dependency>