Repository 'package_bzlib_1_0'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/package_bzlib_1_0

Changeset 0:a8d7180642fa (2013-08-11)
Next changeset 1:f744bc704064 (2014-06-24)
Commit message:
Initial upload.
added:
tool_dependencies.xml
b
diff -r 000000000000 -r a8d7180642fa tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Sun Aug 11 06:18:57 2013 -0400
b
@@ -0,0 +1,23 @@
+ <tool_dependency>
+    <package name="bzlib" version="1.0.6">
+        <install version="1.0">
+            <actions>
+                <!-- first action is always downloading -->
+                <action type="download_by_url">http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz</action>
+                <action type="shell_command">make</action>
+                <action type="shell_command">make install PREFIX=$INSTALL_DIR/bzlib</action>
+                <action type="move_directory_files">
+                    <source_directory>./</source_directory>
+                    <destination_directory>$INSTALL_DIR/bzlib/source</destination_directory>
+                </action>
+                <action type="set_environment">
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bzlib/bin</environment_variable>
+                    <environment_variable name="BZLIB_LIB_DIR" action="set_to">$INSTALL_DIR/bzlib/lib</environment_variable>
+                    <environment_variable name="BZLIB_INCLUDE_DIR" action="set_to">$INSTALL_DIR/bzlib/include</environment_variable>
+                    <environment_variable name="BZLIB_SOURCE_DIR" action="set_to">$INSTALL_DIR/bzlib/source</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>Compiling bzlib requires make and a C compiler. You can access bzlib with $BZLIB_LIB_DIR and $BZLIB_INCLUDE_DIR.</readme>
+    </package>
+</tool_dependency>