File: Makefile.PL

package info (click to toggle)
libpod-minimumversion-perl 50-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 236 kB
  • sloc: perl: 1,308; makefile: 2
file content (69 lines) | stat: -rwxr-xr-x 2,259 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
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
#!/usr/bin/perl

# Copyright 2010, 2011 Kevin Ryde

# This file is part of Pod-MinimumVersion.
#
# Pod-MinimumVersion is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 3, or (at your option) any later
# version.
#
# Pod-MinimumVersion is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License along
# with Pod-MinimumVersion.  If not, see <http://www.gnu.org/licenses/>.

use 5.004;
use strict;
use ExtUtils::MakeMaker;
use lib 'inc';
use MyMakeMakerExtras;

MyMakeMakerExtras::WriteMakefile
  (NAME         => 'Pod-MinimumVersion',
   ABSTRACT     => 'Determine minimum Perl version of POD directives.',
   VERSION_FROM => 'lib/Pod/MinimumVersion.pm',
   AUTHOR       => 'Kevin Ryde <user42@zip.com.au>',
   LICENSE      => 'gpl',
   SIGN         => 1,
   EXE_FILES    => [ 'pod-minimumversion' ],

   PREREQ_PM    => {
                    # 1.02 for avoiding leaks in perl 5.8, probably
                    # something newer has more merit though
                    'IO::String' => '1.02',

                    'List::Util' => 0,
                    'Pod::Parser' => 0,
                    'version' => 0,

                    # only for testing ...
                    'Test' => 0,
                   },
   # but Pod::Parser, IO::String and version.pm are all 5.005 though ...
   MIN_PERL_VERSION => '5.004',

   META_MERGE =>
   { resources =>
     { homepage => 'http://user42.tuxfamily.org/pod-minimumversion/index.html',
     },
     optional_features =>
     {
      # maximum_tests =>
      # { description => 'Have "make test" do as much as possible.',
      #   requires => { # Test::Weaken 2.002 for "ignore"
      #                'Test::Weaken' => '2.002',
      #               },
      # },
      maximum_devel =>
      { description => 'Stuff used variously for development.',
        requires => { 'Smart::Comments'     => 0,
                    },
      },
     },
   },
  );