Skip to content
Newer
Older
100644 61 lines (54 sloc) 1.9 KB
aa2d7cf @dolmen Makefile.PL: back to 5.6.0.
authored
1 use 5.006;
9ab31d9 @dolmen Update Makefile.PL for new build requires and eumm-upgrade
authored
2 use strict;
3
4a6d27e initial import of POE-Component-Logger 1.00 from CPAN
MSERGEANT authored
4 use ExtUtils::MakeMaker;
9ab31d9 @dolmen Update Makefile.PL for new build requires and eumm-upgrade
authored
5 WriteMakefile1(
6 MIN_PERL_VERSION => '5.008',
7
8 NAME => 'POE::Component::Logger',
9 VERSION_FROM => 'lib/POE/Component/Logger.pm',
10 ABSTRACT_FROM => 'lib/POE/Component/Logger.pm',
11 AUTHOR => 'Matt Sergeant <matt@sergeant.org>',
12 LICENSE => 'perl',
13 BUILD_REQUIRES => {
14 'Test::More' => '0',
15 'Test::Builder' => '0',
16 'Test::NoWarnings' => '0',
17 },
18 PREREQ_PM => {
19 # core
20 'File::Spec' => '0',
21 'Carp' => '0',
22 'base' => '0',
23 # CPAN
24 'Log::Dispatch' => '2.26',
25 'Log::Dispatch::Config' => '1.03',
26 'POE' => '1.293',
27 },
28 META_MERGE => {
29 resources => {
667b387 @dolmen Makefile.PL: set repository URL as http
authored
30 repository => 'http://github.com/dolmen/POE-Component-Logger',
9ab31d9 @dolmen Update Makefile.PL for new build requires and eumm-upgrade
authored
31 homepage => 'http://github.com/dolmen/POE-Component-Logger',
32 },
4a6d27e initial import of POE-Component-Logger 1.00 from CPAN
MSERGEANT authored
33 },
34 );
9ab31d9 @dolmen Update Makefile.PL for new build requires and eumm-upgrade
authored
35
36 # vim: set et sw=4 sts=4 :
37
38 sub WriteMakefile1 { #Written by Alexandr Ciornii, version 0.21. Added by eumm-upgrade.
39 my %params=@_;
40 my $eumm_version=$ExtUtils::MakeMaker::VERSION;
41 $eumm_version=eval $eumm_version;
42 die "EXTRA_META is deprecated" if exists $params{EXTRA_META};
43 die "License not specified" if not exists $params{LICENSE};
44 if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) {
45 #EUMM 6.5502 has problems with BUILD_REQUIRES
46 $params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} };
47 delete $params{BUILD_REQUIRES};
48 }
49 delete $params{CONFIGURE_REQUIRES} if $eumm_version < 6.52;
50 delete $params{MIN_PERL_VERSION} if $eumm_version < 6.48;
51 delete $params{META_MERGE} if $eumm_version < 6.46;
52 delete $params{META_ADD} if $eumm_version < 6.46;
53 delete $params{LICENSE} if $eumm_version < 6.31;
54 delete $params{AUTHOR} if $] < 5.005;
55 delete $params{ABSTRACT_FROM} if $] < 5.005;
56 delete $params{BINARY_LOCATION} if $] < 5.005;
57
58 WriteMakefile(%params);
59 }
60
Something went wrong with that request. Please try again.