Commit | Line | Data |
---|---|---|
56215427 | 1 | use inc::Module::Install; |
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 | build_requires 'Test::More' => '0.47'; | |
9 | ||
10 | feature 'XS Speedups', | |
11 | ($] < 5.009_005 ? ('Class::C3::XS' => '0.02') : ()); | |
12 | ||
13 | # Would like to disable these if they answer yes above too ... | |
14 | feature '-core', | |
15 | 'Algorithm::C3' => '0.06', | |
16 | 'Scalar::Util' => '1.10'; | |
17 | } | |
18 | ||
19 | auto_install; | |
20 | WriteAll; |