File: Makefile.PL

package info (click to toggle)
libstatistics-lite-perl 3.62-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 116 kB
  • ctags: 17
  • sloc: perl: 288; makefile: 2
file content (30 lines) | stat: -rwxr-xr-x 748 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
use ExtUtils::MakeMaker;

my $mm_ver = $ExtUtils::MakeMaker::VERSION;
if ($mm_ver =~ /_/) { # developer release
    $mm_ver = eval $mm_ver;
    die $@ if $@;
}

WriteMakefile(
  NAME	          => 'Statistics::Lite',
  AUTHOR          => 'Brian Lalonde (brian@webcoder.info)',
  LICENSE         => 'perl',
  VERSION_FROM    => 'Lite.pm', 
  ABSTRACT_FROM   => 'Lite.pm',

  ($mm_ver <= 6.45
    ? ()
    : (META_MERGE => {
      'meta-spec' => { version => 2 },
        resources => {
          repository  => {
            type => 'git',
            web  => 'https://github.com/brianary/Statistics-Lite',
            url  => 'https://github.com/brianary/Statistics-Lite.git',
          },
        },
      })
  ),

);