25eb38f4eba51555a2ecb7fa51df7ad4afab37a7
[gitmo/Class-C3.git] / Makefile.PL
1 use inc::Module::Install 0.75;
2
3 name           'Class-C3';
4 all_from       'lib/Class/C3.pm';
5
6 # Class::C3 under 5.9.5+ has no deps
7 if($] < 5.009_005) {
8     test_requires 'Test::More'    => '0.47';
9
10     feature 'XS Speedups', 'Class::C3::XS' => '0.07';
11
12     # Would like to disable these if they answer yes above too ...
13     requires 'Algorithm::C3' => '0.06';
14     requires 'Scalar::Util'  => '1.10';
15 }
16
17 # Rebuild README for maintainers
18 if(-e 'MANIFEST.SKIP') {
19     system("pod2text lib/Class/C3.pm >README");
20 }
21
22 auto_provides;
23 WriteAll;