-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile.PL
37 lines (35 loc) · 995 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
33
34
35
36
37
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %make;
if ($ExtUtils::MakeMaker::VERSION > 6.64) {
$make{META_MERGE} = {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/JJ/Test-Text.git',
web => 'https://github.com/JJ/Test-Text',
},
},
};
}
WriteMakefile(
NAME => 'Test::Text',
AUTHOR => 'JJ Merelo <[email protected]>',
VERSION_FROM => 'lib/Test/Text.pm',
ABSTRACT_FROM => 'lib/Test/Text.pm',
LICENSE => 'gpl',
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
'version' => 0,
'Path::Tiny' => 0.111,
'Text::Hunspell' => 2.08,
'Encode' => 0,
'Test::Simple' => 1.0 #base class
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Test-Text-*' },
%make,
);