Repository 'package_clapack_3_2_1'
hg clone https://toolshed.g2.bx.psu.edu/repos/miller-lab/package_clapack_3_2_1

Changeset 0:c9c9e17ee608 (2013-09-09)
Commit message:
Initial version
added:
tool_dependencies.xml
b
diff -r 000000000000 -r c9c9e17ee608 tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Mon Sep 09 13:33:06 2013 -0400
b
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="clapack" version="3.2.1">
+    <install version="1.0">
+      <actions>
+        <!-- Download source code -->
+        <action type="download_by_url" target_filename="CLAPACK-3.2.1.tar.gz">http://www.netlib.org/clapack/clapack-3.2.1.tgz</action>
+
+        <!-- Build libraries -->
+        <action type="shell_command">cp make.inc.example make.inc</action>
+        <action type="shell_command">make f2clib</action>
+        <action type="shell_command">make blaslib</action>
+        <action type="shell_command">make lib</action>
+
+        <!-- Install libraries -->
+        <action type="shell_command">cp -R INCLUDE $INSTALL_DIR</action>
+        <action type="shell_command">mkdir -p $INSTALL_DIR/F2CLIBS</action>
+        <action type="shell_command">cp F2CLIBS/*.a $INSTALL_DIR/F2CLIBS</action>
+        <action type="shell_command">cp *.a $INSTALL_DIR</action>
+
+        <!-- Set environment for dependent repositories -->
+        <action type="set_environment">
+          <environment_variable name="CLAPACKPATH" action="set_to">$INSTALL_DIR</environment_variable>
+        </action>
+      </actions>
+    </install>
+  </package>
+</tool_dependency>