annotate tool_dependencies.xml @ 4:8b3509930a44 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
author iuc
date Fri, 25 Sep 2015 09:17:12 -0400
parents fd34b72b501b
children d905bb415eca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
1 <?xml version="1.0"?>
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
2 <tool_dependency>
4
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
3 <package name="gnu_coreutils" version="8.22">
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
4 <repository changeset_revision="ac64dfe4b1fb" name="package_gnu_coreutils_8_22" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
5 </package>
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
6 <package name="perl" version="5.18.1">
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
7 <install version="1.0">
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
8 <actions>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
9 <!-- install perl -->
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
10 <action type="download_by_url">http://www.cpan.org/src/5.0/perl-5.18.1.tar.gz</action>
4
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
11 <!-- get coreutils in path, to avoid using system's mktemp, which might have differing syntax -->
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
12 <action type="set_environment_for_install">
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
13 <repository changeset_revision="ac64dfe4b1fb" name="package_gnu_coreutils_8_22" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
14 <package name="gnu_coreutils" version="8.22" />
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
15 </repository>
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
16 </action>
2
114b6af405fa Uploaded
iuc
parents: 1
diff changeset
17 <action type="shell_command">./Configure -des -Dprefix=$INSTALL_DIR -Dstartperl='#!/usr/bin/env perl'</action>
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
18 <action type="make_install" />
1
28865aa39fbb Uploaded
iuc
parents: 0
diff changeset
19 <action type="change_directory">..</action>
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
20 <action type="download_file">http://www.cpan.org/authors/id/A/AP/APEIRON/local-lib-1.008009.tar.gz</action>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
21 <action type="shell_command">tar xfvz local-lib-1.008009.tar.gz</action>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
22 <action type="change_directory">local-lib-1.008009</action>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
23 <!-- TODO: Here we need to use the new installed perl binary -->
4
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
24 <!-- Test whether $TMP_WORK_DIR exists (introduced in galaxy release 15.07).
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
25 If not, fall back to using mktemp. Should be set to HOME=$TEMP_WORK_DIR in the future. -->
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
26 <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>
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
27 <action type="shell_command">make install</action>
4
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
28 <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>
1
28865aa39fbb Uploaded
iuc
parents: 0
diff changeset
29 <action type="change_directory">..</action>
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
30 <!-- install cpanminus into our new perl environment -->
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
31 <action type="download_file">https://raw.github.com/miyagawa/cpanminus/c0c88f71118ecec334d62ba280e883933e7a6d39/cpanm</action>
4
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
32 <!-- prepending means that the new install perl binary will be used after the pipe -->
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
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>
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
34 <action type="shell_command">LC_ALL=C sed -i.bak -e 's|#!$INSTALL_DIR/bin/|#!/usr/bin/env |' $INSTALL_DIR/bin/*</action>
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
35 <action type="set_environment">
4
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
36 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
37 <environment_variable action="prepend_to" name="PERL5LIB">$INSTALL_DIR/lib/perl5</environment_variable>
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
38 <environment_variable action="set_to" name="PERL_ROOT_DIR">$INSTALL_DIR</environment_variable>
8b3509930a44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit 14be1b424bf939451dd8c4706b14a7cac6941165
iuc
parents: 3
diff changeset
39 <environment_variable action="set_to" name="PERL_LOCALLIB_DIR">$INSTALL_DIR/local-lib</environment_variable>
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
40 </action>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
41 </actions>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
42 </install>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
43 <readme>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
44 Perl 5 is a highly capable, feature-rich programming language with over 25 years of development.
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
45 http://www.perl.org/
2
114b6af405fa Uploaded
iuc
parents: 1
diff changeset
46
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
47 This repository contains local-lib and cpanm in addition.
2
114b6af405fa Uploaded
iuc
parents: 1
diff changeset
48 It is recommended to use something like "cpanm --local-lib=$PERL_ROOT_DIR XML::Parser" to install additional perl modules.
0
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
49 </readme>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
50 </package>
34b039b3943b Imported from capsule None
iuc
parents:
diff changeset
51 </tool_dependency>