all_from 'lib/Perl/Dist.pm';
requires 'Archive::Tar' => '1.42';
requires 'Archive::Zip' => '1.26';
requires 'File::Spec' => '3.29';
requires 'File::Copy::Recursive' => '0.38';
requires 'File::Find::Rule' => '0.30';
requires 'File::Path' => '2.07';
requires 'File::pushd' => '1.00';
requires 'File::Remove' => '1.42';
requires 'File::HomeDir' => '0.82';
requires 'File::ShareDir' => '1.00';
requires 'File::PathList' => '1.04';
requires 'File::Temp' => '0.21';
requires 'HTTP::Status' => '5.817';
requires 'IPC::Run3' => '0.042';
requires 'LWP::UserAgent' => '5.823';
requires 'LWP::UserAgent::WithCache' => '0.06';
requires 'LWP::Online' => '1.07';
requires 'Object::Tiny' => '1.06';
requires 'YAML::Tiny' => '1.36';
requires 'Module::CoreList' => '2.17';
requires 'Params::Util' => '0.35';
requires 'Template' => '2.20';
requires 'CPAN' => '1.9301';
requires 'PAR::Dist' => '0.42';
requires 'Process' => '0.22';
requires 'Process::Storable' => '0.22';
requires 'Process::Delegatable' => '0.22';
requires 'IO::Capture' => '0.05';
requires 'Win32::File::Object' => '0.01' if $^O eq 'MSWin32';
requires 'Portable::Dist' => '0.02';
requires 'Probe::Perl' => '0.01';
test_requires 'Test::More' => '0.86';
test_requires 'Test::Script' => '1.03';
test_requires 'Test::LongString' => '0.11';
install_script 'perldist';
install_share;
WriteAll;
# Look for Inno Setup
print "Looking for Inno Setup 5... ";
unless ( $ENV{PROGRAMFILES} and -d $ENV{PROGRAMFILES} ) {
pexit("Failed to find the Program Files directory\n");
}
my $innosetup_dir = File::Spec->catdir( $ENV{PROGRAMFILES}, "Inno Setup 5" );
my $innosetup_file = File::Spec->catfile( $innosetup_dir, 'Compil32.exe' );
unless ( -d $innosetup_dir and -f $innosetup_file ) {
pexit(
"failed\n",
"\n",
" Failed to find an installation of Inno Setup 5\n",
);
}
print "OK\n";
sub pexit {
print(@_, "\n");
exit(0);
}