File: Makefile.PL

package info (click to toggle)
libconfig-any-perl 0.23-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 340 kB
  • sloc: perl: 1,578; xml: 28; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
use inc::Module::Install 1.00;

if ( -e 'MANIFEST.SKIP' ) {
    system( 'pod2text lib/Config/Any.pm > README' );
}

perl_version '5.006';
name 'Config-Any';

all_from 'lib/Config/Any.pm';

requires 'Module::Pluggable' => '3.01';

# Upgrade Config::General is necessary
if ( can_use( 'Config::General' ) && !can_use( 'Config::General', '2.47' ) ) {
    requires 'Config::General' => '2.47';
}

test_requires 'Test::More';

# Scrub requires() for META output
if ( $Module::Install::AUTHOR ) {
    Meta->{ values }{ requires } = [ grep { $_->[ 0 ] ne 'Config::General' }
            @{ Meta->{ values }{ requires } } ];
}

resources repository =>
    'git://git.shadowcat.co.uk/p5sagit/Config-Any.git';

WriteAll;