comparison tool_dependencies.xml @ 0:1e8862eb2eba draft

Uploaded
author crs4
date Fri, 06 Sep 2013 05:58:59 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1e8862eb2eba
1 <?xml version="1.0"?>
2 <tool_dependency>
3 <package name="boost" version="1.53.0">
4 <repository changeset_revision="dbdde1a2d0c5" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
5 </package>
6 <package name="mugsy" version="1.2.3.1">
7 <install version="1.0">
8 <actions>
9 <!-- checkout from svn source repository into a directory with the same name of the package, which will be automatically used as working directory -->
10 <action type="shell_command">svn checkout http://svn.code.sf.net/p/mugsy/code/ mugsy</action>
11 <!-- fix for Boost >= 1.42.0 -->
12 <action type="shell_command">sed -i 's/boost\/property_map\.hpp/boost\/property_map\/property_map.hpp/' trunk/chaining/synchain-mugsy.cpp</action>
13 <!-- fix for Boost >= 1.47.0 -->
14 <action type="shell_command">sed -i 's/boost\/graph\/kolmogorov_max_flow\.hpp/boost\/graph\/boykov_kolmogorov_max_flow.hpp/' trunk/chaining/synchain-mugsy.cpp trunk/mugsy-seqan/projects/library/apps/mugsy/mugsy.cpp</action>
15 <!-- fix chaining Makefile -->
16 <action type="shell_command">sed -i -e 's/-static//g' -e 's/-lbgl-viz -lboost_graph-gcc41-mt//g' trunk/chaining/Makefile</action>
17 <!-- fix missing include in show-diff.cc -->
18 <action type="shell_command">sed -i '13 a \#include &lt;algorithm&gt;' trunk/MUMmer3.20/src/tigr/show-diff.cc</action>
19 <!-- skip make of streeproto.h since it would fail because of missing skproto.x -->
20 <action type="shell_command">touch trunk/MUMmer3.20/src/kurtz/streesrc/streeproto.h</action>
21 <!-- fix Makefile -->
22 <action type="shell_command">sed -i -e 's/install synchain-mugsy/install chaining\/synchain-mugsy/' -e 's/install mugsyWGA \(.*\)/install mugsy-seqan\/projects\/library\/apps\/mugsy\/gcc\/mugsy \1\/mugsyWGA/' trunk/Makefile</action>
23 <!-- fix MUMmer3.20 Makefile -->
24 <action type="shell_command">sed -i '/DOC_DIR/d' trunk/MUMmer3.20/Makefile</action>
25 <!-- populate the environment variables from the dependent repos -->
26 <action type="set_environment_for_install">
27 <repository name="package_boost_1_53" owner="bgruening" toolshed="http://toolshed.g2.bx.psu.edu">
28 <package name="boost" version="1.53.0" />
29 </repository>
30 </action>
31 <!-- use $BOOST_ROOT_DIR in chaining Makefile -->
32 <action type="shell_command">sed -i -e 's/-I \/usr\/local\/projects\/angiuoli\/boost\/include\/boost-1_38/-I $(BOOST_ROOT_DIR)\/include/g' -e 's/-L \/usr\/local\/projects\/angiuoli\/boost\/lib\//-L $(BOOST_ROOT_DIR)\/lib/g' trunk/chaining/Makefile trunk/mugsy-seqan/platforms/gcc/platform.mak</action>
33 <!-- equivalent of make clean -->
34 <action type="shell_command">rm -f trunk/chaining/synchain-mugsy trunk/mugsyWGA trunk/synchain-mugsy &amp;&amp; make -C trunk/MUMmer3.20 clean</action>
35 <action type="shell_command">make -C trunk all</action>
36 <action type="shell_command">make -C trunk install</action>
37 <action type="move_directory_files">
38 <source_directory>trunk/mugsy_x86-64-v1r2.3.1</source_directory>
39 <destination_directory>$INSTALL_DIR</destination_directory>
40 </action>
41 <action type="set_environment">
42 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
43 </action>
44 <action type="set_environment">
45 <environment_variable action="set_to" name="MUGSY_INSTALL">$INSTALL_DIR</environment_variable>
46 </action>
47 </actions>
48 </install>
49 <readme>
50 </readme>
51 </package>
52 </tool_dependency>