File: Build.PL

package info (click to toggle)
libcolor-calc-perl 1.074-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 240 kB
  • ctags: 40
  • sloc: perl: 398; makefile: 7
file content (54 lines) | stat: -rw-r--r-- 1,077 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
#!/usr/bin/perl

use 5.006;
use strict;
use utf8;

use Module::Build;

my $b = Module::Build->new(
	'module_name'	=> 'Color::Calc',
	'license'	=> 'perl',
	'dist_author'	=> 'Claus Faerber <CFAERBER@cpan.org>',

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

    	'requires'	=> {
		'Graphics::ColorNames'	=> 2.10,
		'Graphics::ColorNames::WWW' => 0.01,
		'Graphics::ColorNames::HTML'=> 0,
		'Params::Validate'	=> 0.75,
	},
	'build_requires' => {
		'Test::More' => 0, 
		'Test::NoWarnings' => 0,
	},

	auto_features => {
		'color_object_support' => {
			'description'	=> 'support for Color::Object (obsolete)',
			'requires'	=> {
				'Color::Object'	=> 1,
			}
		},
		'graphics_colorobject_support' => {
			'description'	=> 'support for Graphics::ColorObject',
			'requires'	=> {
				'Graphics::ColorObject'	=> 0.005,
			}
		},
	},

	'no_index' => {
		'directory' => ['eg']
	},
	'resources' => {
		'homepage' => 'http://search.cpan.org/dist/Color-Calc',
		'repository' => 'http://github.com/cfaerber/Color-Calc',
	},

);

$b->create_build_script;