forked from cog/Filesys-Diskusage
/
Makefile.PL
45 lines (41 loc) · 1.23 KB
/
Makefile.PL
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %conf = (
NAME => 'Filesys::DiskUsage',
AUTHOR => 'Jose Castro <cog@cpan.org>',
VERSION_FROM => 'lib/Filesys/DiskUsage.pm',
ABSTRACT_FROM => 'lib/Filesys/DiskUsage.pm',
EXE_FILES => [ 'fdu' ],
MIN_PERL_VERSION => 5.006,
BUILD_REQUIRES => {
'Test::More' => 0,
'Test::Warn' => 0,
'File::Temp' => 0,
'File::Find' => 0,
},
PREREQ_PM => {
'File::Basename' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Filesys-DiskUsage-*' },
);
if (eval { ExtUtils::MakeMaker->VERSION(6.3002) }) {
$conf{LICENSE} = 'perl';
}
if (eval { ExtUtils::MakeMaker->VERSION(6.46) }) {
$conf{META_MERGE} = {
'meta-spec' => { version => 2 },
provides => {
'Filesys::DiskUsage' => { file => 'lib/Filesys/DiskUsage.pm', version => '0.13' },
},
resources => {
repository => {
type => 'git',
url => 'http://github.com/manwar/Filesys-DiskUsage.git',
web => 'http://github.com/manwar/Filesys-DiskUsage',
},
},
};
}
WriteMakefile(%conf);