File: Build.PL

package info (click to toggle)
libtie-hash-regex-perl 1.14-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 88 kB
  • sloc: perl: 47; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 997 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
use Module::Build;
my $build = Module::Build->new(
	module_name => 'Tie::Hash::Regex',
	license => 'perl',
	requires => {
		perl		      => '5.6.0',
		'Tie::Hash'	      => 0,
		'Attribute::Handlers' => 0,
	},
	build_requires => {
		'Test::More'	      => 0,
	},
	build_recommends => {
		'Test::Pod'           => 0,
		'Test::Pod::Coverage' => 0,
	},
        create_makefile_pl => 'traditional',
        meta_merge => {
                'meta-spec' => { version => 2 },
                resources => {
                        repository => {
                               type => 'git',
                               url  => 'git://github.com/davorg/tie-hash-regex.git',
                               web  => 'https://github.com/davorg/tie-hash-regex',
                        },
                        bugtracker => {
                               web  => 'https://github.com/davorg/tie-hash-regex/issues',
                        },
                },
        },
);

$build->create_build_script;