annotate tool_dependencies.xml @ 2:d2490712b67d draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
author bgruening
date Sun, 01 Nov 2015 10:35:04 -0500
parents 0916781bc971
children e44dda38e6ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
1 <?xml version="1.0"?>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
2 <tool_dependency>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
3 <package name="openbabel" version="2.3.2">
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 1
diff changeset
4 <repository changeset_revision="e5ef70185d24" name="package_openbabel_2_3" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
5 </package>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
6 <package name="graphicsmagick" version="1.3.18">
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 1
diff changeset
7 <repository changeset_revision="ef238a8bdc1d" name="package_graphicsmagick_1_3" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
8 </package>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
9 <package name="osra" version="2.0.0">
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
10 <install version="1.0">
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
11 <actions>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
12 <!-- first action is always downloading -->
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
13 <action type="download_by_url">http://downloads.sourceforge.net/project/osra/osra/2.0.0/osra-2.0.0.tgz</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
14
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
15 <!-- populate the environment variables from the dependend repos -->
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
16 <action type="set_environment_for_install">
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 1
diff changeset
17 <repository changeset_revision="e5ef70185d24" name="package_openbabel_2_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
18 <package name="openbabel" version="2.3.2" />
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
19 </repository>
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 1
diff changeset
20 <repository changeset_revision="ef238a8bdc1d" name="package_graphicsmagick_1_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
21 <package name="graphicsmagick" version="1.3.18" />
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
22 </repository>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
23 </action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
24
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
25 <!--compiling potrace-1.11 -->
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 1
diff changeset
26 <action type="download_file">http://potrace.sourceforge.net/download/1.11/potrace-1.11.tar.gz</action>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
27 <action type="shell_command">tar xfvz potrace-1.11.tar.gz &amp;&amp; cd potrace-1.11 &amp;&amp; ./configure --with-libpotrace --prefix=$INSTALL_DIR/potrace/build &amp;&amp; make &amp;&amp; make install</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
28
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
29 <!--compiling gocr 0.50patched -->
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 1
diff changeset
30 <!-- not yet possible
1
0916781bc971 Uploaded
bgruening
parents: 0
diff changeset
31 <action type="download_file">http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.50.tar.gz</action>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
32 <action type="shell_command">tar xfvz gocr-0.50.tar.gz &amp;&amp; cd gocr-0.50 &amp;&amp; ./configure -|-prefix=$INSTALL_DIR/gocr/build &amp;&amp; make libs &amp;&amp; make all install</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
33 -->
1
0916781bc971 Uploaded
bgruening
parents: 0
diff changeset
34 <action type="download_file">http://downloads.sourceforge.net/project/osra/gocr-patched/gocr-0.50pre-patched.tgz</action>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
35 <action type="shell_command">tar xfvz gocr-0.50pre-patched.tgz &amp;&amp; cd gocr-0.50pre-patched &amp;&amp; ./configure --prefix=$INSTALL_DIR/gocr/build &amp;&amp; make libs &amp;&amp; make all install</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
36
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
37
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
38 <!--compiling tclap 1.2.1 -->
1
0916781bc971 Uploaded
bgruening
parents: 0
diff changeset
39 <action type="download_file">http://downloads.sourceforge.net/project/tclap/tclap-1.2.1.tar.gz</action>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
40 <action type="shell_command">tar xfvz tclap-1.2.1.tar.gz &amp;&amp; cd tclap-1.2.1 &amp;&amp; ./configure --prefix=$INSTALL_DIR/tclap/build &amp;&amp; make &amp;&amp; make install</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
41
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
42 <!--compiling ocrad 0.21 -->
1
0916781bc971 Uploaded
bgruening
parents: 0
diff changeset
43 <action type="download_file">http://mirror.checkdomain.de/gnu/ocrad/ocrad-0.21.tar.gz</action>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
44 <action type="shell_command">tar xfvz ocrad-0.21.tar.gz &amp;&amp; cd ocrad-0.21 &amp;&amp; ./configure --prefix=$INSTALL_DIR/ocrad/build &amp;&amp; make &amp;&amp; make install</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
45
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
46 <!--compiling cuneiform 1.1.0 -->
1
0916781bc971 Uploaded
bgruening
parents: 0
diff changeset
47 <action type="download_file">https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2</action>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
48 <action type="shell_command">tar xfvj cuneiform-linux-1.1.0.tar.bz2 &amp;&amp; cd cuneiform-linux-1.1.0 &amp;&amp; mkdir build &amp;&amp; cd build &amp;&amp; cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/cuneiform/build/ &amp;&amp; make &amp;&amp; make install</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
49
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
50 <!--And finally OSRA 1.4.0-->
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
51 <!-- Extending the PATH is needed for OSRA -->
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 1
diff changeset
52 <action type="shell_command">export PATH=$PATH:$GRAPHICSMAGICK_ROOT_DIR/bin/ &amp;&amp;
1
0916781bc971 Uploaded
bgruening
parents: 0
diff changeset
53 ./configure --with-tclap-include=$INSTALL_DIR/tclap/build/include/ --with-potrace-include=$INSTALL_DIR/potrace/build/include/ --with-potrace-lib=$INSTALL_DIR/potrace/build/lib/ --with-gocr-include=$INSTALL_DIR/gocr/build/include/gocr/ --with-gocr-lib=$INSTALL_DIR/gocr/build/lib/ --with-ocrad-include=$INSTALL_DIR/ocrad/build/include/ --with-ocrad-lib=$INSTALL_DIR/ocrad/build/lib/ --with-cuneiform-include=$INSTALL_DIR/cuneiform/build/include/ --with-cuneiform --with-cuneiform-lib=$INSTALL_DIR/cuneiform/build/install/lib/ --with-openbabel-include=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ --with-openbabel-lib=$OPENBABEL_LIB_DIR --with-graphicsmagick-lib=$GRAPHICSMAGICK_ROOT_DIR/lib/ --with-graphicsmagick-include=$GRAPHICSMAGICK_ROOT_DIR/include/GraphicsMagick/ --prefix=$INSTALL_DIR </action>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
54 <action type="shell_command">make</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
55 <action type="shell_command">make install</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
56
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
57 <action type="shell_command">rm $INSTALL_DIR/tclap/ -r</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
58 <!--<action type="shell_command">rm $INSTALL_DIR/openbabel/ -r</action>-->
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
59 <action type="shell_command">rm $INSTALL_DIR/gocr/ -r</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
60 <action type="shell_command">rm $INSTALL_DIR/ocrad/ -r</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
61 <action type="shell_command">rm $INSTALL_DIR/cuneiform/ -r</action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
62
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
63 <action type="set_environment">
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
64 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[GRAPHICSMAGICK_ROOT_DIR]/lib/</environment_variable>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
65 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/potrace/build/lib/</environment_variable>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
66 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
67 <!-- OSRA_DATA_FILES is only used by the galaxy wrapper and is not part of OSRA -->
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
68 <environment_variable action="set_to" name="OSRA_DATA_FILES">$INSTALL_DIR/share</environment_variable>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
69 </action>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
70 </actions>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
71 </install>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
72 <readme>We still have a handfull of requirements</readme>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
73 </package>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
74 </tool_dependency>