1use ExtUtils::MakeMaker; 2 3my @win32_longpath 4 = $^O eq 'MSWin32' 5 ? ('Win32::LongPath' => 0) 6 : (); 7 8WriteMakefile( 9 'NAME' => 'Geo::ShapeFile', 10 'VERSION_FROM' => 'lib/Geo/ShapeFile.pm', # finds $VERSION 11 'PREREQ_PM' => { 12 'Carp' => 0, 13 'IO::File' => 0, 14 'Math::Trig' => 1.04, 15 'List::Util' => 0, 16 'Scalar::Util' => 0, 17 'parent' => 0, 18 'Tree::R' => 0, 19 'POSIX' => 0, 20 'autovivification' => 0, 21 @win32_longpath, 22 }, 23 BUILD_REQUIRES => { 24 'rlib' => 0, 25 }, 26 TEST_REQUIRES => { 27 'rlib' => 0, 28 'Test::Exception' => 0, 29 }, 30 META_MERGE => { 31 'meta-spec' => { version => 2 }, 32 resources => { 33 repository => { 34 type => 'git', 35 url => 'https://github.com/shawnlaffan/Geo-ShapeFile.git', 36 web => 'https://github.com/shawnlaffan/Geo-ShapeFile', 37 }, 38 bugtracker => { 39 web => 'https://github.com/shawnlaffan/Geo-ShapeFile/issues/', 40 }, 41 }, 42 }, 43 ABSTRACT_FROM => 'lib/Geo/ShapeFile.pm', 44 AUTHOR => 'Shawn Laffan <shawnlaffan@gmail.com>', 45 LICENSE => 'perl_5', 46); 47