view tool_dependencies.xml @ 3:fb38d1ff2437 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_berkeley_1_86 commit 01677c8ad812f99fb0c60c828a22d6223f85ce6d-dirty
author yhoogstrate
date Tue, 22 Dec 2015 07:09:53 -0500
parents 360c7f09a826
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="berkeley_db" version="1.86">
        <install version="1.0">
            <actions>
                <action type="download_by_url"
                    sha256sum="1edefd96989f652c8b8ba5a9080ec27ef182e4b5fc0830c5144bb96e0eb15ab8">http://download.oracle.com/berkeley-db/db.1.86.tar.gz</action>
                <action type="shell_command"><![CDATA[
                    chmod 644 hash/hash.c hash/hash.h hash/ndbm.c PORT/linux/Makefile &&
                    
                    sed -i.bak "s@->errno@->dbm_errno@" hash/hash.c &&
                    sed -i.bak "s@errno@dbm_errno@" hash/hash.h &&
                    sed -i.bak "s@->errno@->dbm_errno@" hash/ndbm.c &&
                    
                    sed -i.bak "s@{CC} -c -D@{CC} -fPIC -c -D@" PORT/linux/Makefile &&
                    
                    cd PORT/linux &&
                    make
                ]]></action>
                <action type="move_directory_files">
                    <source_directory>.</source_directory>
                    <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                <action type="set_environment">
                    <environment_variable name="BERKELEY_DB_ROOT_PATH" action="set_to">$INSTALL_DIR</environment_variable>
                    
                    <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable>
                    <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
                    <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
                </action>
            </actions>
        </install>
        <readme />
    </package>
</tool_dependency>