-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
71 lines (59 loc) · 1.51 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
use strict;
use warnings;
use 5.008;
use ExtUtils::MakeMaker;
use File::ShareDir::Install;
$File::ShareDir::Install::INCLUDE_DOTFILES = 1;
$File::ShareDir::Install::INCLUDE_DOTDIRS = 1;
install_share dist => "share";
my %WriteMakefileArgs = (
"ABSTRACT" => "Extract and verify Smart Health Card information",
"AUTHOR" => "Timothy Legge <timlegge\@gmail.com>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::ShareDir::Install" => "0.06"
},
"DISTNAME" => "Health-SHC",
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.008",
"NAME" => "Health::SHC",
"PREREQ_PM" => {
"Barcode::ZBar" => 0,
"Crypt::JWT" => 0,
"File::ShareDir" => 0,
"File::Temp" => 0,
"Image::Magick" => 0,
"JSON::Parse" => "0.59",
"PostScript::Convert" => 0
},
"TEST_REQUIRES" => {
"Test::Exception" => 0
},
"VERSION" => "0.006",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Barcode::ZBar" => 0,
"Crypt::JWT" => 0,
"File::ShareDir" => 0,
"File::Temp" => 0,
"Image::Magick" => 0,
"JSON::Parse" => "0.59",
"PostScript::Convert" => 0,
"Test::Exception" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
{
package
MY;
use File::ShareDir::Install qw(postamble);
}