File: Makefile.PL

package info (click to toggle)
libb-hooks-parser-perl 0.21-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 516 kB
  • sloc: ansic: 576; perl: 195; makefile: 3
file content (83 lines) | stat: -rw-r--r-- 2,318 bytes parent folder | download | duplicates (3)
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
# This Makefile.PL for B-Hooks-Parser was generated by
# Dist::Zilla::Plugin::MakeMaker::Awesome 0.47.
# Don't edit it but the dist.ini and plugins used to construct it.

use strict;
use warnings;

use 5.006;
use ExtUtils::MakeMaker;

use ExtUtils::Depends 0.302;
my $pkg = ExtUtils::Depends->new(
    'B::Hooks::Parser',
    'B::Hooks::OP::Check',
);
$pkg->install('hook_parser.h');
$pkg->add_xs('Parser.xs');
$pkg->add_pm('lib/B/Hooks/Parser.pm' => '$(INST_LIB)/B/Hooks/Parser.pm');
mkdir 'build';
$pkg->save_config('build/IFiles.pm');

my %WriteMakefileArgs = (
  "ABSTRACT" => "Interface to perl's parser variables",
  "AUTHOR" => "Florian Ragwitz <rafl\@debian.org>",
  "CONFIGURE_REQUIRES" => {
    "B::Hooks::OP::Check" => "0.18",
    "ExtUtils::Depends" => "0.302",
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "B-Hooks-Parser",
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.006",
  "NAME" => "B::Hooks::Parser",
  "PREREQ_PM" => {
    "B::Hooks::OP::Check" => 0,
    "DynaLoader" => 0,
    "parent" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "B::Hooks::EndOfScope" => 0,
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "Test::Fatal" => 0,
    "Test::More" => 0
  },
  "VERSION" => "0.21",
  "test" => {
    "TESTS" => "t/*.t"
  }
);

%WriteMakefileArgs = (
    %WriteMakefileArgs,
    $pkg->get_makefile_vars,
    FUNCLIST => [ qw/hook_parser_setup hook_parser_teardown hook_parser_get_linestr hook_parser_get_linestr_offset hook_parser_set_linestr hook_parser_get_lex_stuff hook_parser_clear_lex_stuff hook_toke_skipspace hook_toke_scan_str hook_toke_scan_word/, 'boot_B__Hooks__Parser' ],
    depend => { '$(OBJECT)' => 'stolen_chunk_of_toke.c' },
);

my %FallbackPrereqs = (
  "B::Hooks::EndOfScope" => 0,
  "B::Hooks::OP::Check" => 0,
  "DynaLoader" => 0,
  "ExtUtils::MakeMaker" => 0,
  "File::Spec" => 0,
  "Test::Fatal" => 0,
  "Test::More" => 0,
  "parent" => 0,
  "strict" => 0,
  "warnings" => 0
);

unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);