diff tool_dependencies.xml @ 1:104cf75e2688 draft

Uploaded
author iuc
date Mon, 13 Jun 2016 13:10:54 -0400
parents 1c44baf77b0e
children d433098e25b5
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Dec 21 05:45:25 2015 -0500
+++ b/tool_dependencies.xml	Mon Jun 13 13:10:54 2016 -0400
@@ -3,6 +3,9 @@
     <package name="libxslt" version="1.1.28">
         <repository changeset_revision="b594d25ec277" name="package_libxslt_1_1_28" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
     </package>
+    <package name="perl_xml_parser_expat" version="2.41">
+        <repository changeset_revision="4b9437687dac" name="package_perl_xml_parser_expat_2_41" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+    </package>
     <package name="meme" version="4.11.0">
         <install version="1.0">
             <actions>
@@ -11,10 +14,18 @@
                     <repository changeset_revision="b594d25ec277" name="package_libxslt_1_1_28" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
                         <package name="libxslt" version="1.1.28" />
                     </repository>
+                    <repository changeset_revision="4b9437687dac" name="package_perl_xml_parser_expat_2_41" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
+                        <package name="perl_xml_parser_expat" version="2.41" />
+                    </repository>
+                </action>
+                <action type="shell_command">
+                    # Handle this bug: https://groups.google.com/forum/#!topic/meme-suite/rHmLmSt2IiQ
+                    sed -i.bak -e 's|sprintf(evt_string, "%8g", dataset-&gt;evt)|sprintf(evt_string, "%g", dataset-&gt;evt)|' src/display.c
                 </action>
                 <action type="autoconf" />
                 <action type="set_environment">
                     <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="prepend_to" name="PERL5LIB">$ENV[PERL5LIB]</environment_variable>
                 </action>
             </actions>
         </install>