File: Build.PL

package info (click to toggle)
libio-async-perl 0.804-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,184 kB
  • sloc: perl: 13,884; makefile: 8
file content (46 lines) | stat: -rw-r--r-- 1,062 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
use v5;
use strict;
use warnings;

use Module::Build;

my $build = Module::Build->new(
   module_name => 'IO::Async',
   requires => {
      'perl' => '5.014',

      'Future' => '0.44', # ->catch
      'Future::Utils' => '0.18', # try_repeat
      'Exporter' => '5.57',
      'File::stat' => 0,
      'IO::Poll' => 0,
      'List::Util' => 0,
      # Require Socket 2.029 on MSWin32 because of AF_UNIX (RT133018)
      ( 'Socket' => ( $^O eq "MSWin32" ? '2.029' : '2.007' ) ),
      'Storable' => 0,
      'Struct::Dumb' => 0,
      'Time::HiRes' => 0,
   },
   recommends => {
      'IO::Socket::IP' => 0,
   },
   test_requires => {
      'File::Temp' => 0,
      'Test::Future::IO::Impl' => 0,
      'Test::Metrics::Any' => 0,
      'Test2::V0' => '0.000149',
   },
   configure_requires => {
      'Module::Build' => '0.4004', # test_requires
   },
   license => 'perl',
   create_license => 1,
   create_readme  => 1,
   meta_merge => {
      resources => {
         x_IRC => "irc://irc.perl.org/#io-async",
      },
   },
);

$build->create_build_script;