File: Makefile.PL

package info (click to toggle)
libapp-daemon-perl 0.22-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 204 kB
  • sloc: perl: 371; makefile: 8
file content (34 lines) | stat: -rw-r--r-- 1,068 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
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

my $meta_merge = {
    META_MERGE => {
        resources => {
            repository  => 'http://github.com/mschilli/app-daemon',
        },
    }
};

if( $^O eq "MSWin32" ) {
    die "$^O: OS unsupported";
}

WriteMakefile(
    NAME              => 'App::Daemon',
    VERSION_FROM      => 'Daemon.pm', # finds $VERSION
    PREREQ_PM         => {
        Log::Log4perl      => "1.0",
        File::Pid          => 0,
        Getopt::Std        => 0,
        Pod::Usage         => 0,
        File::Basename     => 0,
        Test::More         => 0,
        File::Temp         => 0,
        Sysadm::Install    => 0.37,
    }, # e.g., Module::Name => 1.1
    $ExtUtils::MakeMaker::VERSION >= 6.50 ? (%$meta_merge) : (),
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM  => 'Daemon.pm', # retrieve abstract from module
       AUTHOR         => 'Mike Schilli <m@perlmeister.com>') : ()),
);