Mercurial > repos > iuc > package_perl_5_18
annotate tool_dependencies.xml @ 18:6f144bd786a8 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
| author | iuc |
|---|---|
| date | Wed, 30 Dec 2015 12:40:49 -0500 |
| parents | d5193a5f6203 |
| children | 66db6ede3e0e |
| rev | line source |
|---|---|
| 0 | 1 <tool_dependency> |
| 2 <package name="perl" version="5.18.1"> | |
| 3 <install version="1.0"> | |
| 4 <actions> | |
|
18
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
5 |
| 0 | 6 <!-- install perl --> |
| 7 <action type="download_by_url">http://www.cpan.org/src/5.0/perl-5.18.1.tar.gz</action> | |
| 13 | 8 <action type="shell_command">./Configure -des -Dprefix=$INSTALL_DIR -Dstartperl='#!/usr/bin/env perl'</action> |
| 5 | 9 <action type="make_install" /> |
| 10 | 10 <action type="change_directory">..</action> |
| 0 | 11 <action type="download_file">http://www.cpan.org/authors/id/A/AP/APEIRON/local-lib-1.008009.tar.gz</action> |
| 12 <action type="shell_command">tar xfvz local-lib-1.008009.tar.gz</action> | |
| 13 <action type="change_directory">local-lib-1.008009</action> | |
| 5 | 14 <!-- TODO: Here we need to use the new installed perl binary --> |
|
18
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
15 <action type="shell_command">export PATH=$INSTALL_DIR/bin/:$PATH; perl Makefile.PL --bootstrap=$INSTALL_DIR/local-lib/ --no-manpages</action> |
| 0 | 16 <action type="shell_command">make install</action> |
|
18
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
17 <action type="shell_command">export PATH=$INSTALL_DIR/bin/:$PATH; eval $(perl -I$INSTALL_DIR/local-lib/perl5 -Mlocal::lib=$INSTALL_DIR/local-lib)</action> |
| 13 | 18 <action type="change_directory">..</action> |
| 4 | 19 <!-- install cpanminus into our new perl environment --> |
| 0 | 20 <action type="download_file">https://raw.github.com/miyagawa/cpanminus/c0c88f71118ecec334d62ba280e883933e7a6d39/cpanm</action> |
|
18
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
21 <!-- prepanding means that the new install perl binary will be used after the pipe --> |
|
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
22 <action type="shell_command">export PERL5LIB=$INSTALL_DIR/lib/perl5/:$PERL5LIB ; export PATH=$INSTALL_DIR/bin/:$PATH ; cat cpanm | perl - App::cpanminus</action> |
|
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
23 <action type="shell_command">sed -i -e 's|#!$INSTALL_DIR/bin/|#!/usr/bin/env |' $INSTALL_DIR/bin/*</action> |
|
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
24 |
| 0 | 25 <action type="set_environment"> |
|
18
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
26 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> |
|
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
27 <environment_variable name="PERL5LIB" action="prepend_to">$INSTALL_DIR/lib/perl5</environment_variable> |
|
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
28 <environment_variable name="PERL_ROOT_DIR" action="set_to">$INSTALL_DIR</environment_variable> |
|
6f144bd786a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_perl_5_18 commit ef528e0f943065b3d7c5ea1cd58476e26f14c5c9-dirty
iuc
parents:
17
diff
changeset
|
29 <environment_variable name="PERL_LOCALLIB_DIR" action="set_to">$INSTALL_DIR/local-lib</environment_variable> |
| 0 | 30 </action> |
| 31 </actions> | |
| 32 </install> | |
| 33 <readme> | |
| 5 | 34 Perl 5 is a highly capable, feature-rich programming language with over 25 years of development. |
| 35 http://www.perl.org/ | |
| 14 | 36 |
| 5 | 37 This repository contains local-lib and cpanm in addition. |
| 9 | 38 It is recommended to use something like "cpanm --local-lib=$PERL_ROOT_DIR XML::Parser" to install additional perl modules. |
| 0 | 39 </readme> |
| 40 </package> | |
| 41 </tool_dependency> |
