File: Makefile.PL

package info (click to toggle)
libmail-deliverystatus-bounceparser-perl 1.542%2Brepacked-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,044 kB
  • sloc: perl: 1,684; makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,266 bytes parent folder | download | duplicates (3)
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
use strict;
use 5.6.0;
use ExtUtils::MakeMaker;

my $mm_ver = ExtUtils::MakeMaker->VERSION;

WriteMakefile(
  AUTHOR       => 'IC Group',
  NAME         => 'Mail::DeliveryStatus::BounceParser',
  VERSION_FROM => './lib/Mail/DeliveryStatus/BounceParser.pm',
  LICENSE => "perl",
  PREREQ_PM    => {
    'MIME::Entity' => 5.418, # topic localization bug fixed
    "Mail::Header" => 2.04, # known to work with current version
    ($mm_ver >= 6.64 ? () : ('Test::More' => 0.94)),
  },

  ($mm_ver >= 6.48
      ? (MIN_PERL_VERSION => 5.6.0)
      : ()
  ),

  ($mm_ver < 6.64 ? () : (TEST_REQUIRES => { 'Test::More' => 0.94 })),

  ($mm_ver < 6.46 ? () : (META_MERGE => {
    'meta-spec' => { version => 2 },
    dynamic_config => 1,
    resources       => {
      homepage      => 'https://github.com/rjbs/Mail-DeliveryStatus-BounceParser',
      repository    => {
         url        => 'https://github.com/rjbs/Mail-DeliveryStatus-BounceParser.git',
         web        => 'https://github.com/rjbs/Mail-DeliveryStatus-BounceParser',
         type       => 'git',
      },
      bugtracker    => {
         web        => 'https://github.com/rjbs/Mail-DeliveryStatus-BounceParser/issues',
      },
      x_IRC         => 'irc://irc.perl.org/#email',
    },
  })),
);