Remove noarch build option
[platform/upstream/perl-Capture-Tiny.git] / Makefile.PL
1 # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012.
2 use strict;
3 use warnings;
4
5 use 5.006;
6
7 use ExtUtils::MakeMaker 6.17;
8
9 my %WriteMakefileArgs = (
10   "ABSTRACT" => "Capture STDOUT and STDERR from Perl, XS or external programs",
11   "AUTHOR" => "David Golden <dagolden\@cpan.org>",
12   "CONFIGURE_REQUIRES" => {
13     "ExtUtils::MakeMaker" => "6.17"
14   },
15   "DISTNAME" => "Capture-Tiny",
16   "LICENSE" => "apache",
17   "MIN_PERL_VERSION" => "5.006",
18   "NAME" => "Capture::Tiny",
19   "PREREQ_PM" => {
20     "Carp" => 0,
21     "Exporter" => 0,
22     "File::Spec" => 0,
23     "File::Temp" => 0,
24     "IO::Handle" => 0,
25     "Scalar::Util" => 0,
26     "strict" => 0,
27     "warnings" => 0
28   },
29   "TEST_REQUIRES" => {
30     "ExtUtils::MakeMaker" => 0,
31     "File::Spec" => 0,
32     "IO::File" => 0,
33     "Test::More" => "0.62",
34     "lib" => 0
35   },
36   "VERSION" => "0.48",
37   "test" => {
38     "TESTS" => "t/*.t"
39   }
40 );
41
42
43 my %FallbackPrereqs = (
44   "Carp" => 0,
45   "Exporter" => 0,
46   "ExtUtils::MakeMaker" => 0,
47   "File::Spec" => 0,
48   "File::Temp" => 0,
49   "IO::File" => 0,
50   "IO::Handle" => 0,
51   "Scalar::Util" => 0,
52   "Test::More" => "0.62",
53   "lib" => 0,
54   "strict" => 0,
55   "warnings" => 0
56 );
57
58
59 unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
60   delete $WriteMakefileArgs{TEST_REQUIRES};
61   delete $WriteMakefileArgs{BUILD_REQUIRES};
62   $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
63 }
64
65 delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
66   unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
67
68 if ( $^O eq 'MSWin32' ) {
69         $WriteMakefileArgs{PREREQ_PM}{'Win32API::File'} = $FallbackPrereqs{'Win32API::File'} = '0';
70 }
71
72 WriteMakefile(%WriteMakefileArgs);