Mercurial > repos > iuc > package_bzlib_1_0
view tool_dependencies.xml @ 15:4571a1e192e2 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
author | bgruening |
---|---|
date | Sat, 10 Oct 2015 04:30:00 -0400 |
parents | 6ebf4fdf5359 |
children | f510d17420fb |
line wrap: on
line source
<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"> unamestr=`uname` && if [[ "$unamestr" == 'Linux' ]]; then make -f Makefile-libbz2_so && make && make install PREFIX=$INSTALL_DIR/bzlib && cp bzip2-shared $INSTALL_DIR/bzlib/bin/bzip2 && cp -a libbz2.so* $INSTALL_DIR/bzlib/lib && ln -s libbz2.so.1.0 $INSTALL_DIR/bzlib/lib/libbz2.so elif [[ "$unamestr" == 'Darwin' ]]; then make && make install PREFIX=$INSTALL_DIR/bzlib fi </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> <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/lib</environment_variable> <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/source</environment_variable> <environment_variable name="LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/lib</environment_variable> <environment_variable name="LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/source</environment_variable> <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</environment_variable> <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</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>