1use Module::Build; 2 3my $build = Module::Build->new( 4 module_name => 'Text::WordDiff', 5 license => 'perl', 6 create_makefile_pl => 'traditional', 7 configure_requires => { 'Module::Build' => '0.2701' }, 8 recommends => { 'Test::Pod' => '1.41' }, 9 requires => { 10 Algorithm::Diff => '1.19', 11 Term::ANSIColor => '0', 12 HTML::Entities => '0', 13 }, 14 build_requires => { 15 'Module::Build' => '0.2701', 16 'Test::More' => '0.17', 17 'File::Spec' => '0', 18 }, 19 meta_merge => { 20 resources => { 21 homepage => 'http://search.cpan.org/dist/Text-WordDiff/', 22 bugtracker => 'http://github.com/theory/test-xpath/issues/', 23 repository => 'http://github.com/theory/test-xpath/tree/', 24 } 25 }, 26); 27$build->create_build_script; 28