annotate tool_dependencies.xml @ 18:0c1e5777743b 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:59:14 -0400
parents f4fc10839a05
children 7ebd16eeff6b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
04e1967b1722 Uploaded
iuc
parents:
diff changeset
1 <tool_dependency>
04e1967b1722 Uploaded
iuc
parents:
diff changeset
2 <package name="bzlib" version="1.0.6">
04e1967b1722 Uploaded
iuc
parents:
diff changeset
3 <install version="1.0">
04e1967b1722 Uploaded
iuc
parents:
diff changeset
4 <actions>
2
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
5 <!-- first action is always downloading -->
0
04e1967b1722 Uploaded
iuc
parents:
diff changeset
6 <action type="download_by_url">http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz</action>
16
f510d17420fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 15
diff changeset
7 <action type="shell_command"><![CDATA[
18
0c1e5777743b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 17
diff changeset
8 if [ "$(uname -s)" == "Linux" ]
17
f4fc10839a05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 16
diff changeset
9 then
16
f510d17420fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 15
diff changeset
10 make -f Makefile-libbz2_so &&
f510d17420fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 15
diff changeset
11 make &&
f510d17420fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 15
diff changeset
12 make install PREFIX=$INSTALL_DIR/bzlib &&
f510d17420fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 15
diff changeset
13 cp bzip2-shared $INSTALL_DIR/bzlib/bin/bzip2 &&
f510d17420fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 15
diff changeset
14 cp -a libbz2.so* $INSTALL_DIR/bzlib/lib &&
15
4571a1e192e2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 14
diff changeset
15 ln -s libbz2.so.1.0 $INSTALL_DIR/bzlib/lib/libbz2.so
18
0c1e5777743b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 17
diff changeset
16 elif [ "$(uname -s)" == "Darwin" ]
17
f4fc10839a05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 16
diff changeset
17 then
16
f510d17420fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 15
diff changeset
18 make &&
15
4571a1e192e2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 14
diff changeset
19 make install PREFIX=$INSTALL_DIR/bzlib
4571a1e192e2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 14
diff changeset
20 fi
16
f510d17420fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 15
diff changeset
21 ]]>
15
4571a1e192e2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit fdfb58648bf02f85eb59bdb5b2b5d30d6ac116ef-dirty
bgruening
parents: 14
diff changeset
22 </action>
2
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
23 <action type="move_directory_files">
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
24 <source_directory>./</source_directory>
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
25 <destination_directory>$INSTALL_DIR/bzlib/source</destination_directory>
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
26 </action>
0
04e1967b1722 Uploaded
iuc
parents:
diff changeset
27 <action type="set_environment">
2
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
28 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bzlib/bin</environment_variable>
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
29 <environment_variable name="BZLIB_LIB_DIR" action="set_to">$INSTALL_DIR/bzlib/lib</environment_variable>
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
30 <environment_variable name="BZLIB_INCLUDE_DIR" action="set_to">$INSTALL_DIR/bzlib/include</environment_variable>
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
31 <environment_variable name="BZLIB_SOURCE_DIR" action="set_to">$INSTALL_DIR/bzlib/source</environment_variable>
8
318cd7b46435 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit e8e971905f5fce11a99d51b1399af45288389d76
iuc
parents: 7
diff changeset
32 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/lib</environment_variable>
13
0d0ccd64f5d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit ba7b53894c61fea9a93550f865e9ed2753a904cf
iuc
parents: 12
diff changeset
33 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/source</environment_variable>
8
318cd7b46435 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit e8e971905f5fce11a99d51b1399af45288389d76
iuc
parents: 7
diff changeset
34 <environment_variable name="LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/lib</environment_variable>
13
0d0ccd64f5d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_bzlib_1_0 commit ba7b53894c61fea9a93550f865e9ed2753a904cf
iuc
parents: 12
diff changeset
35 <environment_variable name="LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/bzlib/source</environment_variable>
3
e89ba6f88ab2 Uploaded
bgruening
parents: 2
diff changeset
36 <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</environment_variable>
e89ba6f88ab2 Uploaded
bgruening
parents: 2
diff changeset
37 <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</environment_variable>
0
04e1967b1722 Uploaded
iuc
parents:
diff changeset
38 </action>
04e1967b1722 Uploaded
iuc
parents:
diff changeset
39 </actions>
04e1967b1722 Uploaded
iuc
parents:
diff changeset
40 </install>
2
c8aecd67e0f5 Uploaded
bgruening
parents: 1
diff changeset
41 <readme>Compiling bzlib requires make and a C compiler. You can access bzlib with $BZLIB_LIB_DIR and $BZLIB_INCLUDE_DIR.</readme>
0
04e1967b1722 Uploaded
iuc
parents:
diff changeset
42 </package>
04e1967b1722 Uploaded
iuc
parents:
diff changeset
43 </tool_dependency>