Debian Codegraph @

Makefile.PL

raw
1 use 5.006;
2 use strict;
3 use warnings;
4 use ExtUtils::MakeMaker;
5 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
6 # the contents of the Makefile that is written.
7 WriteMakefile1(
8 'NAME' => 'PDF::Reuse',
9 'VERSION_FROM' => 'lib/PDF/Reuse.pm',
10 'PREREQ_PM' => { 'Digest::MD5' => 0,
11 'Compress::Zlib' => 0,
12 'Carp' => 0,
13 'Exporter' => 0,
14 'AutoLoader' => 0,
15 'Data::Dumper' => 0,
16 'Text::PDF::TTFont0' => 0,
17 'Font::TTF' => 0},
18 LICENSE => 'perl',
19 MIN_PERL_VERSION => '5.006',
20 META_MERGE => {
21 'meta-spec' => { version => 2 },
22 resources => {
23 repository => {
24 type => 'git',
25 url => 'https://github.com/cnighswonger/PDF-Reuse.git',
26 web => 'https://github.com/cnighswonger/PDF-Reuse',
27 },
28 bugtracker => {
29 web => 'https://github.com/cnighswonger/PDF-Reuse/issues',
30 },
31 },
32 provides => {
33 'PDF::Reuse' => {
34 file => 'lib/PDF/Reuse.pm',
35 version => '0.44',
36 },
37 'PDF::Reuse::Util' => {
38 file => 'lib/PDF/Reuse/Util.pm',
39 },
40 },
41 no_index => {
42 package => [ 'PDF::Reuse::DocProxy', 'PDF::Reuse::TTFont' ],
43 },
44 },
45 TEST_REQUIRES => {
46 'Test' => 0,
47 'Test::More' => 0,
48 'Test::Deep' => 0,
49 'IO::String' => 0,
50 },
51 ABSTRACT_FROM => 'lib/PDF/Reuse.pm',
52 AUTHOR => [ 'Lars Lundberg [email protected]',
53 'Chris Nighswonger [email protected]',
54 ],
55 );
56
57 sub WriteMakefile1 { #Compatibility code for old versions of EU::MM. Written by Alexandr Ciornii, version 0.23. Added by eumm-upgrade.
58 my %params=@_;
59 my $eumm_version=$ExtUtils::MakeMaker::VERSION;
60 $eumm_version=eval $eumm_version;
61 die "EXTRA_META is deprecated" if exists $params{EXTRA_META};
62 die "License not specified" if not exists $params{LICENSE};
63 if ($params{AUTHOR} and ref($params{AUTHOR}) eq 'ARRAY' and $eumm_version < 6.5705) {
64 $params{META_ADD}->{author}=$params{AUTHOR};
65 $params{AUTHOR}=join(', ',@{$params{AUTHOR}});
66 }
67 if ($params{TEST_REQUIRES} and $eumm_version < 6.64) {
68 $params{BUILD_REQUIRES}={ %{$params{BUILD_REQUIRES} || {}} , %{$params{TEST_REQUIRES}} };
69 delete $params{TEST_REQUIRES};
70 }
71 if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) {
72 #EUMM 6.5502 has problems with BUILD_REQUIRES
73 $params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} };
74 delete $params{BUILD_REQUIRES};
75 }
76 delete $params{CONFIGURE_REQUIRES} if $eumm_version < 6.52;
77 delete $params{MIN_PERL_VERSION} if $eumm_version < 6.48;
78 delete $params{META_MERGE} if $eumm_version < 6.46;
79 delete $params{META_ADD} if $eumm_version < 6.46;
80 delete $params{LICENSE} if $eumm_version < 6.31;
81
82 WriteMakefile(%params);
83 }