Alien-IUP
view release on metacpan or search on metacpan
use 5.008;
use strict;
use warnings;
use Module::Build;
use lib 'inc';
my %platforms =(
MSWin32 => 'Windows',
cygwin => 'Cygwin',
linux => 'Unix',
_default_ => 'Unix', # Unix = default, thus not listing all UNIX like systems
);
my $package = 'My::Builder::' . ($platforms{$^O} || $platforms{_default_});
eval "require $package" or die "###ERROR### Require '$package' failed: $@";
print STDERR "Gonna use '$package' class ...\n";
my $cvs_src;
my $builder = $package->new(
module_name => 'Alien::IUP',
dist_version_from => 'lib/Alien/IUP.pm',
dist_author => 'KMX, kmx@cpan.org',
license => 'mit',
requires => {
'perl' => 5.008008,
'File::ShareDir' => 0,
'File::Spec' => 0,
},
configure_requires => {
'perl' => 5.008008,
'Module::Build' => 0.36,
'File::ShareDir' => 0,
'File::Spec' => 0,
'File::Path' => 0,
'File::Temp' => 0.22,
'File::Find' => 0,
'ExtUtils::CBuilder'=> 0,
'ExtUtils::Command' => 0,
'ExtUtils::Liblist' => 0,
'LWP::Simple' => 0,
'Digest::SHA' => 0,
'Archive::Extract' => 0,
'Text::Patch' => 0,
'IPC::Run3' => 0.041, # we need return_if_system_error
},
build_requires => {
'perl' => 5.008008,
'Module::Build' => 0.36,
'Test::More' => 0,
'File::ShareDir' => 0,
'File::Spec' => 0,
'File::Path' => 0,
'File::Temp' => 0.22,
'File::Find' => 0,
'ExtUtils::CBuilder'=> 0,
'ExtUtils::Command' => 0, #Win32 external makefiles need this
'ExtUtils::Liblist' => 0,
'LWP::Simple' => 0,
'Digest::SHA' => 0,
'Archive::Extract' => 0,
'Text::Patch' => 0,
'IPC::Run3' => 0.041, # we need return_if_system_error
},
share_dir => 'sharedir',
( run in 0.328 second using v1.01-cache-2.11-cpan-9bca49b1385 )