-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.PL
33 lines (30 loc) · 1.01 KB
/
Makefile.PL
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 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",
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 <[email protected]>') : ()),
);