perlmods: fixed install_order

on older systems Module::Build is not available by default, therefore we have
to change the order of installation.
This commit is contained in:
Sven Nierlein 2013-08-23 12:40:55 +02:00 committed by Sven Nierlein
parent 912a2eaf02
commit fae168a68b
2 changed files with 6 additions and 5 deletions

View file

@ -1,13 +1,13 @@
# Modules installed in this order
Test-Simple
Perl-OSType
parent
version
Try-Tiny
Module-Metadata
Module-Runtime
Module-Implementation
Module-Metadata
version
Module-Build
Module-Runtime
parent
Try-Tiny
Params-Validate
Math-Calc-Units
Class-Accessor

View file

@ -62,6 +62,7 @@ foreach my $tarball (@tarballs) {
if ($opts->{m}) {
# Don't compile if already done - this is because of invocating this
# script at different stages
print "******************** $tarball\n";
unless (-e $dir) {
system("gunzip -c $tarball | tar -xf -") == 0 or die "Cannot extract $tarball";
chdir $dir or die "Can't chdir into $dir";