1use 5.10.0; 2use warnings; 3use strict; 4use ExtUtils::MakeMaker; 5 6 7my %prereqs_os_specific; 8 9if ( $^O eq 'MSWin32' ) { 10 %prereqs_os_specific = ( 11 'Encode' => 0, 12 'Encode::Locale' => 0, 13 'Win32::Console' => 0, 14 'Win32::Console::ANSI' => 0, 15 'Win32::Console::PatchForRT33513' => 0, 16 ); 17} 18 19WriteMakefile( 20 PL_FILES => {}, 21 MIN_PERL_VERSION => '5.10.0', 22 LICENSE => 'perl', 23 META_MERGE => { 24 'meta-spec' => { version => 2 }, 25 resources => { 26 bugtracker => { 27 web => "https://github.com/kuerbis/Term-Choose/issues", 28 }, 29 repository => { 30 type => 'git', 31 web => 'https://github.com/kuerbis/Term-Choose', 32 url => 'https://github.com/kuerbis/Term-Choose.git', 33 }, 34 }, 35 }, 36 AUTHOR => 'Matthaeus Kiem <cuer2s@gmail.com>', 37 NAME => 'Term::Choose', 38 ABSTRACT_FROM => 'lib/Term/Choose.pm', 39 VERSION_FROM => 'lib/Term/Choose.pm', 40 EXE_FILES => [], 41 BUILD_REQUIRES => { 42 'lib' => 0, 43 'File::Spec::Functions' => 0, 44 'FindBin' => 0, 45 'Test::More' => 0, 46 'Test::Fatal' => 0, 47 }, 48 PREREQ_PM => { 49 'constant' => 0, 50 'strict' => 0, 51 'warnings' => 0, 52 'Carp' => 0, 53 'Exporter' => 0, 54 %prereqs_os_specific, 55 }, 56 test => { 57 TESTS => 't/*/*.t', 58 }, 59 dist => { 60 COMPRESS => 'gzip', 61 SUFFIX => '.gz', 62 TARFLAGS => '--format=gnu -cvf', 63 }, 64 clean => { 65 FILES => 'Term-Choose-*', 66 }, 67); 68