File: Build.PL

package info (click to toggle)
libconfig-model-backend-yaml-perl 2.134-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 172 kB
  • sloc: perl: 221; makefile: 2
file content (62 lines) | stat: -rw-r--r-- 1,462 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# This file is part of Config-Model-Backend-Yaml
#
# This software is Copyright (c) 2018 by Dominique Dumont.
#
# This is free software, licensed under:
#
#   The GNU Lesser General Public License, Version 2.1, February 1999
#

use Module::Build;

use warnings;
use strict;

require 5.010001 ;

my @version_info = @ARGV ? ( dist_version => $ARGV[0] ) : ();

my $build = Module::Build->new(
    module_name => 'Config::Model::Backend::Yaml',
    @version_info,
    license       => 'lgpl',
    dist_abstract => 'Config::Model plugin to read and write YAML files',
    dist_author   => 'Dominique Dumont (ddumont at cpan dot org)',

  'build_requires' => {
    'Config::Model::Tester' => '4.001',
    'Config::Model::Tester::Setup' => '0',
    'ExtUtils::testlib' => '0',
    'Module::Build' => '0.34',
    'Path::Tiny' => '0',
    'Test::Memory::Cycle' => '0',
    'Test::More' => '0',
    'lib' => '0',
    'utf8' => '0'
  },
  'configure_requires' => {
    'Module::Build' => '0.34'
  },
  'requires' => {
    'Carp' => '0',
    'Config::Model' => '2.131',
    'Config::Model::Backend::Any' => '0',
    'Config::Model::Exception' => '0',
    'File::Path' => '0',
    'Log::Log4perl' => '0',
    'YAML::XS' => '0.69',
    'base' => '0',
    'boolean' => '0',
    'parent' => '0',
    'perl' => 'v5.12.0',
    'strict' => '0',
    'warnings' => '0'
  },

    add_to_cleanup => [ qw/wr_root/ ],
);

$build->add_build_element('pl');

$build->create_build_script;