Mercurial > repos > iuc > package_sailfish_0_6
changeset 0:6453a4f36990 draft
Uploaded
author | iuc |
---|---|
date | Tue, 20 May 2014 15:02:10 -0400 |
parents | |
children | ff40b1fd7bb1 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 37 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Tue May 20 15:02:10 2014 -0400 @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="boost" version="1.53.0"> + <repository changeset_revision="7cc7949148d5" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> + + <package name="sailfish" version="0.6.3"> + <install version="1.0"> + <actions> + <!-- first action is always downloading --> + <action type="download_by_url">https://github.com/kingsfordgroup/sailfish/archive/v0.6.3.tar.gz</action> + + <!-- populate the environment variables from the dependend repos --> + <action type="set_environment_for_install"> + <repository changeset_revision="7cc7949148d5" name="package_boost_1_53" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu"> + <package name="boost" version="1.53.0" /> + </repository> + </action> + + <!-- PYTHONPATH_NUMPY is set in the numpy package --> + <action type="shell_command"> + mkdir build && + cd build && + cmake .. -DBOOST_ROOT=$BOOST_ROOT_DIR -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR</action> + <action type="shell_command">cd ./build && make </action> + <action type="shell_command">cd ./build && make install</action> + + <action type="set_environment"> + <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable> + <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> + <environment_variable action="append_to" name="LD_LIBRARY_PATH">$ENV[BOOST_ROOT_DIR]/lib/</environment_variable> + </action> + </actions> + </install> + <readme>Compiling sailfish requires cmake and C++11 compiler (usually gcc).</readme> + </package> +</tool_dependency>