File: Makefile.PL

package info (click to toggle)
libnet-frame-perl 1.21-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 316 kB
  • sloc: perl: 1,883; makefile: 6
file content (33 lines) | stat: -rw-r--r-- 689 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
#
# $Id: Makefile.PL,v 7609c9d085d3 2018/03/15 15:17:19 gomor $
#
use ExtUtils::MakeMaker;

require v5.6.1;

my @conditions_modules = ();
eval {
   require Socket;
   Socket->import(
      qw(AF_INET6 getaddrinfo getnameinfo inet_pton inet_ntop)
   );
};
if ($@) {
   @conditions_modules = ( Socket6 => 0 );
}

WriteMakefile(
   NAME => 'Net::Frame',
   VERSION_FROM => 'lib/Net/Frame.pm',
   LICENSE => 'artistic',
   ABSTRACT_FROM => 'lib/Net/Frame.pm',
   AUTHOR => 'GomoR <gomor_at_cpan.org>',
   MIN_PERL_VERSION => '5.6.1',
   PREREQ_PM => {
      Class::Gomor => '1.00',
      Net::IPv6Addr => 0,
      Bit::Vector => 0,
      Socket => '2.019',
      @conditions_modules,
   },
);