File: Makefile.PL

package info (click to toggle)
libb-lint-perl 1.22-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 144 kB
  • sloc: perl: 1,128; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 711 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
require 5.006000;

use ExtUtils::MakeMaker;

WriteMakefile(
    NAME          => 'B::Lint',
    AUTHOR        => 'Joshua ben Jore <jjore@cpan.org>',
    VERSION_FROM  => 'lib/B/Lint.pm',
    ABSTRACT_FROM => 'lib/B/Lint.pm',
    PREREQ_PM     => { 'Module::Pluggable' => 0, 'if' => 0 },
    LICENSE       => 'perl',
    dist          => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean         => { FILES => 'B-Lint-*' },

    # B::Lint is a dual-life module. Must install over core for pre-5.12 perls.
    INSTALLDIRS => $] < 5.012 ? 'perl' : 'site',
    PM          => {
        'lib/B/Lint.pm'       => '$(INST_LIB)/B/Lint.pm',
        'lib/B/Lint/Debug.pm' => '$(INST_LIB)/B/Lint/Debug.pm',
    },
);