tidy Makefile.PL
[p5sagit/Config-Any.git] / Makefile.PL
CommitLineData
eb6669bf 1use inc::Module::Install 0.99;
e23825ec 2
92a04e78 3if ( -e 'MANIFEST.SKIP' ) {
e23825ec 4 system( 'pod2text lib/Config/Any.pm > README' );
5}
f0e3c221 6
5f5b9e4c 7perl_version '5.006';
869f568e 8name 'Config-Any';
5f5b9e4c 9
f0e3c221 10all_from 'lib/Config/Any.pm';
11
12requires 'Module::Pluggable' => '3.01';
f0e3c221 13
eb6669bf 14# Upgrade Config::General is necessary
15if ( can_use( 'Config::General' ) && !can_use( 'Config::General', '2.47' ) ) {
e3c5f84b 16 requires 'Config::General' => '2.47';
17}
18
e23825ec 19test_requires 'Test::More';
f0e3c221 20
eb6669bf 21# Scrub requires() for META output
22if ( $Module::Install::AUTHOR ) {
23 Meta->{ values }{ requires } = [ grep { $_->[ 0 ] ne 'Config::General' }
24 @{ Meta->{ values }{ requires } } ];
e3c5f84b 25}
26
eb6669bf 27resources repository =>
28 'http://dev.catalyst.perl.org/repos/Catalyst/trunk/Config-Any/';
45758652 29
f0e3c221 30WriteAll;