-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathMakefile.PL
29 lines (28 loc) · 889 Bytes
/
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
use ExtUtils::MakeMaker;
use 5.010;
$^O =~m{Win32}i and die "OS unsupported";
if (eval 'use Socket 1.95; 1'
and ! eval 'Socket::inet_pton(Socket::AF_INET(),"0.0.0.0")') {
warn "Socket::inet_pton failed on your system: $@";
exit(0);
}
WriteMakefile(
NAME => 'Net::SIP',
VERSION_FROM => 'lib/Net/SIP.pm',
PREREQ_PM => {
# 'Net::DNS' => 0.56, # optional
# 'IO::Socket::SSL' => 1.956, # optional
'Socket' => 1.95,
},
LICENSE => 'perl',
$ExtUtils::MakeMaker::VERSION >= 6.46 ? (
'META_MERGE' => {
resources => {
license => 'http://dev.perl.org/licenses/',
repository => 'https://github.com/noxxi/p5-net-sip',
homepage => 'https://github.com/noxxi/p5-net-sip',
bugtracker => 'https://github.com/noxxi/p5-net-sip/issues',
},
},
):(),
);