File: Build.PL

package info (click to toggle)
libio-socket-ip-perl 0.16-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 232 kB
  • sloc: perl: 1,087; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 458 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
use strict;
use warnings;

use Module::Build;

my $build = Module::Build->new(
   module_name => 'IO::Socket::IP',
   requires => {
      'IO::Socket' => 0,
      'Socket' => '1.97',
   },
   build_requires => {
      'Test::More' => 0,
   },
   auto_configure_requires => 0, # Don't add M::B to configure_requires
   license => 'perl',
   create_makefile_pl => 'traditional',
   create_license => 1,
   create_readme  => 1,
);

$build->create_build_script;