File: Build.PL

package info (click to toggle)
libdatetime-format-dbi-perl 0.041-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 124 kB
  • ctags: 3
  • sloc: perl: 81; makefile: 2
file content (42 lines) | stat: -rw-r--r-- 905 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
34
35
36
37
38
39
40
41
42
#!/usr/bin/perl

use 5.006;
use strict;
use utf8;

use Module::Build;

eval { require 'lib/DateTime/Format/DBI.pm' };
my $db = \%DateTime::Format::DBI::_db_to_parser;

my $b = Module::Build->new(
	'module_name'	=> 'DateTime::Format::DBI',
	'license'	=> 'perl',
	'dist_author'	=> 'Claus Färber <CFAERBER@cpan.org>',

	'sign'		=> 1,
	'create_license' => 1,
	'create_makefile_pl' => 'traditional',

    	'requires'	=> {
		'DateTime'	=> 0.10,
		'DBI'		=> 1.21,
	},
	'recommends'	=> {
		'Test::Database' => 0,
	},
	'build_requires' => {
		'Test::More' => 0, 
		'Test::NoWarnings' => 0,
	},
	'no_index' => {
		'directory' => ['eg',],
	},
	'resources' => {
		'homepage' 	=> 'http://search.cpan.org/dist/DateTime-Format-DBI/',
		'repository'	=> 'https://guthub.com/cfaerber/DateTime-Format-DBI/',
		'bugtracker'	=> 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=DateTime-Format-DBI',
	},
);

$b->create_build_script;