-use inc::Module::Install;
+use inc::Module::Install 0.65;
-name 'mro';
-all_from 'lib/mro.pm';
+name 'MRO-Compat';
+all_from 'lib/MRO/Compat.pm';
-build_requires 'Test::More' => '0.47';
+test_requires 'Test::More' => '0.47';
-if($] > 5.009_004) {
- warn "*** There is no good reason to install this module on Perl version 5.9.5 or higher ***";
- # XXX can I prevent M::I from installing mro.pm in this case?
+if($] < 5.009_005) {
+ feature 'XS Speedups', 'Class::C3::XS' => '0.08';
+ requires 'Class::C3' => '0.19';
}
+# Rebuild README for maintainers
+system("pod2text lib/MRO/Compat.pm >README") if -e 'MANIFEST.SKIP';
+
+auto_provides;
auto_install;
WriteAll;