Mercurial > repos > geert-vandeweyer > package_perl_libwww
diff tool_dependencies.xml @ 1:6e538924dd61 draft
rewrote to setup_perl_environment syntax
author | geert-vandeweyer |
---|---|
date | Fri, 26 Sep 2014 07:11:39 -0400 |
parents | 94973e011a2f |
children | e08141fe368b |
line wrap: on
line diff
--- a/tool_dependencies.xml Wed Feb 19 05:59:15 2014 -0500 +++ b/tool_dependencies.xml Fri Sep 26 07:11:39 2014 -0400 @@ -1,19 +1,20 @@ <?xml version='1.0' encoding='utf-8'?> <tool_dependency> -<package name="perl_module_libwww" version='6.05'> + <package name="perl" version="5.18.1"> + <repository changeset_revision="a1a111b9faa5" name="package_perl_5_18" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> + + <package name="perl_module_libwww" version='latest'> <install version='1.0'> <actions> - <action type="download_by_url">http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-6.05.tar.gz</action> - <action type="make_directory">$INSTALL_DIR/lib/perl5</action> - <action type="shell_command"> - perl Makefile.PL INSTALL_BASE=$INSTALL_DIR && - make && - make install - </action> - <action type="set_environment"> - <environment_variable action="append_to" name="PERL5LIB">$INSTALL_DIR/lib/perl5/</environment_variable> + <action type="setup_perl_environment"> + <repository changeset_revision="a1a111b9faa5" name="package_perl_5_18" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu"> + <package name="perl" version="5.18.1" /> + </repository> + <package>LWP</package> </action> </actions> + </install> <readme>This package install libwww CPAN package for Perl, including LWP::UserAgent.</readme> </package>