|
my $tmpdir = File::Spec->tmpdir();
if (!-w $tmpdir ) {
print STDERR "NA: Your temporary directory '$tmpdir' isn't writable, fix your configuration and try again" ;
exit (0);
}
my $dist = {
COMPRESS => 'gzip -9f' ,
SUFFIX => 'gz' ,
};
if ($^O eq 'darwin' ) {
$dist ->{ 'TAR' } = 'gtar' ;
}
WriteMakefile(
NAME => 'CGI::Info' ,
AUTHOR => q{Nigel Horne <njh@bandsman.co.uk>} ,
VERSION_FROM => 'lib/CGI/Info.pm' ,
ABSTRACT_FROM => 'lib/CGI/Info.pm' ,
(( defined ( $ExtUtils::MakeMaker::VERSION ) && ( $ExtUtils::MakeMaker::VERSION >= 6.3002))
? ( 'LICENSE' => 'GPL' )
: ()),
'LIBS' => [ '' ],
'DEFINE' => '' ,
'INC' => '' ,
PL_FILES => {},
TEST_REQUIRES => {
'LWP::UserAgent' => 0,
'JSON::PP' => 4.02,
'Test::Carp' => 0,
'Test::Compile' => 0,
'Test::DescribeMe' => 0,
'Test::Most' => 0,
'Test::Needs' => 0,
'Test::NoWarnings' => 0,
'Test::Script' => 1.12,
'Test::CleanNamespaces' => 0,
'autodie' => 0,
'strict' => 0,
'warnings' => 0,
'IPC::System::Simple' => 0,
'Taint::Runtime' => 0,
'Test::Warn' => 0,
'Tie::Filehandle::Preempt::Stdin' => 0,
}, PREREQ_PM => {
'Carp' => 0,
'ExtUtils::MakeMaker' => 6.64,
'Scalar::Util' => 0,
'URI::Heuristic' => 0,
'Sys::Hostname' => 0,
'File::Spec' => 3.4,
'Cwd' => 0,
'Socket' => 0,
'List::Util' => 1.33,
'HTTP::BrowserDetect' => 3.10,
'File::Basename' => 0,
'String::Clean::XSS' => 0,
'Log::Any' => 0,
'JSON::MaybeXS' => 0,
'Class::Autouse' => 0,
'namespace::clean' => 0,
'Sys::Path' => 0
}, dist => $dist ,
clean => { FILES => 'CGI-Info-*' },
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git' ,
}, bugtracker => {
mailto => 'bug-CGI-Info@rt.cpan.org' ,
}
},
},
MIN_PERL_VERSION => '5.008'
);
|