summaryrefslogtreecommitdiffstats
path: root/Build.PL
blob: 30703cc14dffb5f99feef8d78eb7ba5c3eeb0f7b (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96

# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.012.
use strict;
use warnings;

use Module::Build 0.3601;
use lib qw{inc}; use My::Builder;

my %module_build_args = (
  "build_requires" => {
    "Cwd" => "3.30",
    "Module::Build" => "0.3601",
    "autodie" => "2.06_01"
  },
  "configure_requires" => {
    "Module::Build" => "0.3601"
  },
  "dist_abstract" => "setup Tails persistent storage",
  "dist_author" => [
    "Tails developers <tails\@boum.org>"
  ],
  "dist_name" => "Tails-Persistence",
  "dist_version" => "2.1.1",
  "license" => "gpl",
  "module_name" => "Tails::Persistence",
  "recursive_test_files" => 1,
  "requires" => {
    "Carp" => "1.11",
    "Class::XSAccessor" => "1.19",
    "Clone" => "0.31",
    "Function::Parameters" => "2.001003",
    "Glib" => "1.223",
    "Gtk3" => "0.018",
    "IPC::System::Simple" => "1.21",
    "List::MoreUtils" => "0.24",
    "List::Util" => 0,
    "Moo" => "2.002005",
    "MooX::HandlesVia" => "0.001008",
    "MooX::Options" => "4.023",
    "MooX::late" => "0.015",
    "Net::DBus" => "v1.1.0",
    "Net::DBus::GLib" => "v0.33.0",
    "Number::Format" => "1.73",
    "Pango" => "1.226",
    "Path::Tiny" => "0.100",
    "Tails" => "2.0",
    "Try::Tiny" => "0.04",
    "Type::Tiny" => "1.000005",
    "Type::Tiny::XS" => "0.012",
    "Types::Path::Tiny" => "0.005",
    "UUID::Tiny" => "1.0400",
    "namespace::clean" => "0.27",
    "strictures" => "2.000003"
  },
  "script_files" => [
    "bin/tails-fix-persistent-volume-permissions",
    "bin/tails-persistence-setup"
  ],
  "share_dir" => {
    "dist" => "share"
  },
  "test_requires" => {
    "Data::Dumper::Concise" => "2.022",
    "LWP::Online" => "1.07",
    "Module::Pluggable::Object" => "3.9",
    "Path::Tiny" => "0.100",
    "Test::BDD::Cucumber" => "0.24",
    "Test::Most" => "0.22",
    "Test::Spec" => "0.40"
  }
);


my %fallback_build_requires = (
  "Cwd" => "3.30",
  "Data::Dumper::Concise" => "2.022",
  "LWP::Online" => "1.07",
  "Module::Build" => "0.3601",
  "Module::Pluggable::Object" => "3.9",
  "Path::Tiny" => "0.100",
  "Test::BDD::Cucumber" => "0.24",
  "Test::Most" => "0.22",
  "Test::Spec" => "0.40",
  "autodie" => "2.06_01"
);


unless ( eval { Module::Build->VERSION(0.4004) } ) {
  delete $module_build_args{test_requires};
  $module_build_args{build_requires} = \%fallback_build_requires;
}

my $build = My::Builder->new(%module_build_args);


$build->create_build_script;