File: Makefile.PL

package info (click to toggle)
libdevel-declare-perl 0.006000-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 296 kB
  • ctags: 238
  • sloc: perl: 1,605; ansic: 756; makefile: 25
file content (38 lines) | stat: -rw-r--r-- 906 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
use inc::Module::Install 0.91;

use 5.008001;

use ExtUtils::Depends;

name 'Devel-Declare';
all_from 'lib/Devel/Declare.pm';

requires 'Scalar::Util' => 1.11; # set_prototype appeared in this version
requires 'B::Hooks::OP::Check' => '0.18';
requires 'B::Hooks::EndOfScope' => '0.05';
requires 'Sub::Name';

build_requires 'B::Hooks::OP::Check' => '0.18';

# minimum version that works on Win32+gcc
configure_requires 'ExtUtils::Depends' => 0.302;

# minimum version that depends on ExtUtils::Depends 0.302
configure_requires 'B::Hooks::OP::Check' => '0.18';

test_requires 'Test::More' => '0.88';

repository 'git://github.com/rafl/devel-declare.git';

postamble(<<'EOM');
$(OBJECT) : stolen_chunk_of_toke.c
EOM

my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check');

WriteMakefile(
  dist => {
    PREOP => 'pod2text lib/Devel/Declare.pm >README'
  },
  $pkg->get_makefile_vars,
);