comparison tool_dependencies.xml @ 6:03f5951a9855 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 1486cf95ee83c1c8769d1f8a80fe9342d50fc6da
author iuc
date Fri, 26 Feb 2016 03:08:35 -0500
parents d905bb415eca
children 35f117d7396b
comparison
equal deleted inserted replaced
5:d905bb415eca 6:03f5951a9855
5 </package> 5 </package>
6 <package name="perl" version="5.18.1"> 6 <package name="perl" version="5.18.1">
7 <install version="1.0"> 7 <install version="1.0">
8 <actions> 8 <actions>
9 <!-- install perl --> 9 <!-- install perl -->
10 <action sha256sum="655e11a8ffba8853efcdce568a142c232600ed120ac24aaebb4e6efe74e85b2b" type="download_by_url"> 10 <action sha256sum="655e11a8ffba8853efcdce568a142c232600ed120ac24aaebb4e6efe74e85b2b" type="download_by_url">https://depot.galaxyproject.org/software/perl/perl_5.18_src_all.tar.gz</action>
11 https://depot.galaxyproject.org/software/perl/perl_5.18_src_all.tar.gz
12 </action>
13 <action type="shell_command">./Configure -des -Dprefix=$INSTALL_DIR -Dstartperl='#!/usr/bin/env perl'</action> 11 <action type="shell_command">./Configure -des -Dprefix=$INSTALL_DIR -Dstartperl='#!/usr/bin/env perl'</action>
14 <action type="make_install" /> 12 <action type="make_install" />
15 <action type="change_directory">..</action> 13 <action type="change_directory">..</action>
16 <action sha256sum="5c69adb47ab828aa3e8b5be89b88cd49c6a0d0dae2e8b3bca17a9ce699190e7b" type="download_file"> 14 <action sha256sum="5c69adb47ab828aa3e8b5be89b88cd49c6a0d0dae2e8b3bca17a9ce699190e7b" type="download_file">http://www.cpan.org/authors/id/A/AP/APEIRON/local-lib-1.008009.tar.gz</action>
17 http://www.cpan.org/authors/id/A/AP/APEIRON/local-lib-1.008009.tar.gz
18 </action>
19 <action type="shell_command">tar xfvz local-lib-1.008009.tar.gz</action> 15 <action type="shell_command">tar xfvz local-lib-1.008009.tar.gz</action>
20 <action type="change_directory">local-lib-1.008009</action> 16 <action type="change_directory">local-lib-1.008009</action>
21 <!-- TODO: Here we need to use the new installed perl binary --> 17 <!-- TODO: Here we need to use the new installed perl binary -->
22 <!-- Test whether $TMP_WORK_DIR exists (introduced in galaxy release 15.07). 18 <!-- Test whether $TMP_WORK_DIR exists (introduced in galaxy release 15.07).
23 If not, fall back to using mktemp. Should be set to HOME=$TEMP_WORK_DIR in the future. --> 19 If not, fall back to using mktemp. Should be set to HOME=$TEMP_WORK_DIR in the future. -->
24 <action type="shell_command">if [ -d "$TMP_WORK_DIR" ] ; then export HOME=$TMP_WORK_DIR ; else export HOME=`mktemp -d` ; fi ; export PATH=$INSTALL_DIR/bin/:$PATH; perl Makefile.PL --bootstrap=$INSTALL_DIR/local-lib/ --no-manpages</action> 20 <action type="shell_command">if [ -d "$TMP_WORK_DIR" ] ; then export HOME=$TMP_WORK_DIR ; else export HOME=`mktemp -d` ; fi ; export PATH=$INSTALL_DIR/bin/:$PATH; perl Makefile.PL --bootstrap=$INSTALL_DIR/local-lib/ --no-manpages</action>
25 <action type="shell_command">make install</action> 21 <action type="shell_command">make install</action>
26 <action type="shell_command">export PATH=$INSTALL_DIR/bin/:$PATH; eval $(perl -I$INSTALL_DIR/local-lib/lib/perl5 -Mlocal::lib=$INSTALL_DIR/local-lib)</action> 22 <action type="shell_command">export PATH=$INSTALL_DIR/bin/:$PATH; eval $(perl -I$INSTALL_DIR/local-lib/lib/perl5 -Mlocal::lib=$INSTALL_DIR/local-lib)</action>
27 <action type="change_directory">..</action> 23 <action type="change_directory">..</action>
28 <!-- install cpanminus into our new perl environment --> 24 <!-- install cpanminus into our new perl environment -->
29 <action sha256sum="0b67f5c721259d4185bacdcbc87b835821246fe8ac7ad980d3b1a18ecdd10ff6" type="download_file"> 25 <action sha256sum="0b67f5c721259d4185bacdcbc87b835821246fe8ac7ad980d3b1a18ecdd10ff6" type="download_file">https://raw.github.com/miyagawa/cpanminus/c0c88f71118ecec334d62ba280e883933e7a6d39/cpanm</action>
30 https://raw.github.com/miyagawa/cpanminus/c0c88f71118ecec334d62ba280e883933e7a6d39/cpanm
31 </action>
32 <!-- prepending means that the new install perl binary will be used after the pipe --> 26 <!-- prepending means that the new install perl binary will be used after the pipe -->
33 <action type="shell_command">if [ -d "$TMP_WORK_DIR" ] ; then export HOME=$TMP_WORK_DIR ; else export HOME=`mktemp -d` ; fi ; unset PERL_MB_OPT PERL_MM_OPT ; export PERL5LIB=$INSTALL_DIR/lib/perl5/:$PERL5LIB ; export PATH=$INSTALL_DIR/bin/:$PATH ; cat cpanm | perl - App::cpanminus</action> 27 <action type="shell_command">if [ -d "$TMP_WORK_DIR" ] ; then export HOME=$TMP_WORK_DIR ; else export HOME=`mktemp -d` ; fi ; unset PERL_MB_OPT PERL_MM_OPT ; export PERL5LIB=$INSTALL_DIR/lib/perl5/:$PERL5LIB ; export PATH=$INSTALL_DIR/bin/:$PATH ; cat cpanm | perl - App::cpanminus</action>
34 <action type="shell_command">LC_ALL=C sed -i.bak -e 's|#!$INSTALL_DIR/bin/|#!/usr/bin/env |' $INSTALL_DIR/bin/*</action> 28 <action type="shell_command">LC_ALL=C sed -i.bak -e 's|#!$INSTALL_DIR/bin/|#!/usr/bin/env |' $INSTALL_DIR/bin/*</action>
35 <action type="set_environment"> 29 <action type="set_environment">
36 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> 30 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>