File: Build.PL

package info (click to toggle)
librole-basic-perl 0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 252 kB
  • sloc: perl: 1,725; makefile: 7
file content (23 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name       => 'Role::Basic',
    license           => 'perl',
    dist_author       => q{Curtis 'Ovid' Poe <ovid@cpan.org>},
    dist_version_from => 'lib/Role/Basic.pm',
    build_requires    => { 'Test::More' => 0, },

    # we could probably handle a somewhat older version, but this is six years
    # old and shouldn't be too problematic (we hope). This does mean that if
    # your perl < 5.7.3, it's possible you will have to install this.
    requires             => { 'Storable' => '2.15', },
    add_to_cleanup       => ['Role-Basic-*'],
    create_makefile_pl   => 'traditional',
    recursive_test_files => 1,
    meta_merge =>
      { resources => { repository => 'https://github.com/Ovid/Role-Basic' } },
);

$builder->create_build_script();