forked from dago/Number-Bytes-Human
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
32 lines (28 loc) · 811 Bytes
/
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
#!/usr/bin/perl
use 5.006;
use ExtUtils::MakeMaker;
my $EUMM_VERSION = eval $ExtUtils::MakeMaker::VERSION;
my $EXTRA_META = <<YAML;
recommends:
Test::Pod: 1.18
#bignum: 0
no_index: ~
installdirs: site
YAML
WriteMakefile(
NAME => 'Number::Bytes::Human',
VERSION_FROM => 'Human.pm', # finds $VERSION
PREREQ_PM => {
POSIX => 0,
Carp => 0,
Test::More => 0,
},
($] >= 5.005 ?
(ABSTRACT_FROM => 'Human.pm', # retrieve abstract from module
AUTHOR => 'A. R. Ferreira <ferreira@cpan.org>',
) : ()),
($EUMM_VERSION >= 6.31 ? (
LICENSE => 'perl',
EXTRA_META => $EXTRA_META
) : ()),
);