changeset 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
files tool_dependencies.xml
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue Dec 22 04:45:08 2015 -0500
+++ b/tool_dependencies.xml	Tue Dec 22 07:09:53 2015 -0500
@@ -5,6 +5,18 @@
             <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>