3 # On some platforms (*ahem*, MacPerl 5.6.1) "use lib qw(lib);" doesn't
4 # find the local "lib" directory, so we use File::Spec to do it properly.
6 use lib File::Spec->catdir('lib'); # use our self to install
7 # XXX we're not actually able to use the bundled copy
8 use lib File::Spec->catdir('t', 'bundled'); # use bundled Test::More
9 use lib File::Spec->catdir('t', 'lib'); # our utilities
11 # We use Module::Build to test & install itself.
16 my $build = Module::Build->new(
17 module_name => 'Module::Build',
22 'File::Basename' => 0,
27 'File::Spec' => '0.82', # rel2abs()
28 'ExtUtils::Install' => 0,
29 'ExtUtils::Manifest' => 0,
30 'ExtUtils::Mkbootstrap' => 0,
34 'Text::ParseWords' => 0,
39 'Archive::Tar' => '1.08',
40 'ExtUtils::CBuilder' => 0.15,
41 'ExtUtils::Install' => 0.30,
42 'ExtUtils::ParseXS' => 1.02,
43 'Pod::Readme' => 0.04,
44 'Module::Signature' => 0.21,
52 description => "Use YAML.pm to write META.yml files",
53 requires => {YAML => ' >= 0.35, != 0.49_01 '},
56 description => "Compile/link C & XS code",
57 requires => {'ExtUtils::CBuilder' => 0.15,},
58 recommends => {'ExtUtils::ParseXS' => 1.02,},
61 description => "Create Unix man pages",
62 requires => {'Pod::Man' => 0},
65 description => "Create HTML documentation",
66 requires => {'Pod::Html' => 0},
70 add_to_cleanup => ['t/Sample/pod2htm*'],
71 script_files => ['scripts/config_data'],
74 homepage => 'http://sourceforge.net/projects/module-build',
76 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Module-Build',
77 MailingList => 'mailto:module-build@perl.org',
78 repository => 'http://svn.perl.org/modules/Module-Build/'
83 $build->create_build_script;
85 # vim:ts=2:sw=2:et:sta