File: Makefile.PL

package info (click to toggle)
libpod-simple-perl 3.45-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,748 kB
  • sloc: perl: 6,946; xml: 2,427; makefile: 2
file content (94 lines) | stat: -rw-r--r-- 2,742 bytes parent folder | download
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# This -*- perl -*- script writes the Makefile for Pod::Simple
#
# Time-stamp: "2004-05-24 00:21:20 ADT"
#
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
#

require 5;

use strict;
use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
    NAME          => 'Pod::Simple',
    VERSION_FROM  => 'lib/Pod/Simple.pm',
    ABSTRACT_FROM => 'lib/Pod/Simple.pod',
    TEST_REQUIRES => {
        'Test::More'  => '0.88'
    },
    PREREQ_PM => {
        'Carp'            => 0,
        'Config'          => 0,
        'Cwd'             => 0,
        'File::Basename'  => 0,
        'File::Find'      => 0,
        'File::Spec'      => 0,
        'Pod::Escapes'    => '1.04',
        'Symbol'          => 0,
        'Text::Wrap'      => '98.112902',
        'if'              => 0,
        'integer'         => 0,
        'overload'        => 0,
        'strict'          => 0,
    },

    INSTALLDIRS => $] >= 5.009003 && $] <= 5.011000 ? 'perl' : 'site',

    LICENSE    => 'perl',
    AUTHOR     => 'Allison Randal <allison@perl.org>',
    META_MERGE => {
        "meta-spec" => { version => 2 },
        resources   => {
            homepage   => 'https://metacpan.org/pod/Pod::Simple',
            license    => 'http://dev.perl.org/licenses/',
            repository => {
                url  => 'https://github.com/perl-pod/pod-simple.git',
                web  => 'https://github.com/perl-pod/pod-simple',
                type => 'git',
            },
            bugtracker => {
                web    => 'https://github.com/perl-pod/pod-simple/issues',
                mailto => 'bug-pod-simple@rt.cpan.org',
            },
            x_MailingList => 'https://lists.perl.org/list/pod-people.html',
        },
        prereqs => {
            runtime => {
                recommends => {
                    'Encode' =>
                        '2.78',  # Pod::Simple's new default code page (1252) is
                        # pre-compiled in 2.78, which improves performance.
                },
            },
        },
    },

);

unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
  $WriteMakefileArgs{BUILD_REQUIRES} = {
      %{ delete $WriteMakefileArgs{TEST_REQUIRES} || {} },
      %{ $WriteMakefileArgs{BUILD_REQUIRES} || {} },
  };
}

unless ( eval { ExtUtils::MakeMaker->VERSION('6.55_01') } ) {
  $WriteMakefileArgs{PREREQ_PM} = {
      %{ delete $WriteMakefileArgs{BUILD_REQUIRES} || {} },
      %{ $WriteMakefileArgs{PREREQ_PM} || {} },
  };
}

WriteMakefile(%WriteMakefileArgs);

package MY;

sub libscan {           # Determine things that should *not* be installed
    my ( $self, $path ) = @_;
    return '' if $path =~ m/~/;
    $path;
}

__END__