File: Build.PL

package info (click to toggle)
libdevel-ebug-perl 0.48-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 332 kB
  • ctags: 108
  • sloc: perl: 1,933; makefile: 6
file content (34 lines) | stat: -rw-r--r-- 873 bytes parent folder | download | duplicates (2)
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
use strict;
use lib 'lib';
use lib '../lib';
use Module::Build;

my $requires = {
  'Carp'                 => '0',
  'Class::Accessor::Chained::Fast' => '0',
  'Devel::StackTrace'    => '0',
  'IO::Socket::INET'     => '0',
  'File::Find'           => '0',
  'Module::Pluggable'    => '0',
  'PadWalker'            => '0',
  'Proc::Background'     => '0',
  'Scalar::Util'         => '0',
  'String::Koremutake'   => '0',
  'Test::More'           => '0',
  'YAML::Syck'           => '0.85',
};


# Test::Expect doesn't run under Windows atm
if ($^O !~ /mswin32/i) {
  $requires->{'Test::Expect'} = '0';
}

my $build = Module::Build->new(
  create_makefile_pl => 'small',
  license            => 'perl',
  module_name        => 'Devel::ebug',
  requires           => $requires,
  script_files       => ['ebug', 'ebug_client', 'ebug_server'],
);
$build->create_build_script;