Mercurial > repos > iuc > package_bzlib_1_0
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 |
rev | line source |
---|---|
0 | 1 <tool_dependency> |
2 <package name="bzlib" version="1.0.6"> | |
3 <install version="1.0"> | |
4 <actions> | |
2 | 5 <!-- first action is always downloading --> |
0 | 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 | 23 <action type="move_directory_files"> |
24 <source_directory>./</source_directory> | |
25 <destination_directory>$INSTALL_DIR/bzlib/source</destination_directory> | |
26 </action> | |
0 | 27 <action type="set_environment"> |
2 | 28 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bzlib/bin</environment_variable> |
29 <environment_variable name="BZLIB_LIB_DIR" action="set_to">$INSTALL_DIR/bzlib/lib</environment_variable> | |
30 <environment_variable name="BZLIB_INCLUDE_DIR" action="set_to">$INSTALL_DIR/bzlib/include</environment_variable> | |
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 | 36 <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</environment_variable> |
37 <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/bzlib/include</environment_variable> | |
0 | 38 </action> |
39 </actions> | |
40 </install> | |
2 | 41 <readme>Compiling bzlib requires make and a C compiler. You can access bzlib with $BZLIB_LIB_DIR and $BZLIB_INCLUDE_DIR.</readme> |
0 | 42 </package> |
43 </tool_dependency> |