File: Makefile.PL

package info (click to toggle)
session-token 0.102-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 108 kB
  • sloc: perl: 38; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 732 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
use strict;

use ExtUtils::MakeMaker;


my %args = (
    NAME => 'App::Session::Token',
    VERSION_FROM => 'lib/App/Session/Token.pm',
    EXE_FILES => [ 'bin/session-token', ],
    PREREQ_PM => {
      'Session::Token' => 0,
      'Getopt::Long' => 0,
    },
    LIBS => [],
    DEFINE => '',
    LICENSE => 'perl',
    dist => {
      PREOP => 'pod2text bin/session-token > $(DISTVNAME)/README',
    },
);


my $eummv = eval ($ExtUtils::MakeMaker::VERSION);
if ($eummv >= 6.45) {
    $args{META_MERGE} = {
        resources => {
            repository => 'git://github.com/hoytech/App-Session-Token.git',
            bugtracker => 'https://github.com/hoytech/App-Session-Token/issues',
        },
    };
}

WriteMakefile(%args);