1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
#!/usr/bin/perl -w
use strict;
use warnings;
use Module::Build;
use 5.008;
my $builder = Module::Build->new(
module_name => 'Carp::Fix::1_25',
license => 'perl',
dist_author => 'Michael G Schwern <schwern@pobox.com>',
requires => {
'perl' => '5.8.0',
'Carp' => 0,
},
configure_requires => {
# MB's auto configure requires only puts it in the META.yml
# so some CPAN shells won't see it.
"Module::Build" => '0.36',
},
meta_merge => {
resources => {
repository => 'http://github.com/schwern/Carp-Fix-1_25/tree/master',
bugtracker => 'http://github.com/schwern/Carp-Fix-1_25/issues',
},
no_index => {
package => [qw(Carp::Fix::1_25::Fixed)],
}
},
recursive_test_files => 1,
create_readme => 1,
create_license => 1,
);
$builder->create_build_script();
|