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

Uploaded
author simonalpha
date Sat, 18 Apr 2015 07:49:06 -0400
parents
children
line wrap: on
line source

<?xml version='1.0' encoding='utf-8'?>
<tool_dependency>
    <package name="rapidnj" version="2.3.0">
        <install version="1.0">
            <actions_group>
                <!-- Download the binaries for RapidNJ compatible with 64-bit OSX. -->
                <actions os="darwin" architecture="x86_64">
                    <action type="download_by_url">http://users-birc.au.dk/cstorm/software/rapidnj/bin-2.3.0/mac-64/rapidnj-mac-64.zip</action>
                    <action type="move_file" rename_to="rapidnj">
                        <source>rapidnj-mac-64</source>
                        <destination>$INSTALL_DIR</destination>
                    </action>
                </actions>
                <!-- Download the binaries for RapidNJ compatible with 32-bit OSX. -->
                <actions os="darwin" architecture="i386">
                    <action type="download_by_url">http://users-birc.au.dk/cstorm/software/rapidnj/bin-2.3.0/mac-32/rapidnj-mac-32.zip</action>
                    <action type="move_file" rename_to="rapidnj">
                        <source>rapidnj-mac-32</source>
                        <destination>$INSTALL_DIR</destination>
                    </action>
                </actions>
                <!-- Download the binaries for RapidNJ compatible with 64-bit Linux. -->
                <actions os="linux" architecture="x86_64">
                    <action type="download_by_url">http://users-birc.au.dk/cstorm/software/rapidnj/bin-2.3.0/linux-64/rapidnj-linux-64.zip</action>
                    <action type="move_file" rename_to="rapidnj">
                        <source>rapidnj-linux-64</source>
                        <destination>$INSTALL_DIR</destination>
                    </action>
                </actions>
                <!-- Download the binaries for RapidNJ compatible with 32-bit Linux. -->
                <actions os="linux" architecture="i386">
                    <action type="download_by_url">http://users-birc.au.dk/cstorm/software/rapidnj/bin-2.3.0/linux-32/rapidnj-linux-32.zip</action>
                    <action type="move_file" rename_to="rapidnj">
                        <source>rapidnj-linux-32</source>
                        <destination>$INSTALL_DIR</destination>
                    </action>
                </actions>
                <action type="chmod">
                  <file mode="755">$INSTALL_DIR/rapidnj</file>
                </action>
                <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
                </action>
            </actions_group>
        </install>
        <readme>
Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X RapidNJ
binaries, which is faster than performing a local compilation,
avoids any issues with build dependencies, and is more reproducible between
installations as there is no variability from the compiler or library
versions.

For more details, see:
http://birc.au.dk/Software/RapidNJ/
        </readme>
    </package>
</tool_dependency>