File: Build.PL

package info (click to toggle)
libnet-idn-encode-perl 2.500-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,820 kB
  • sloc: perl: 416; makefile: 8
file content (51 lines) | stat: -rw-r--r-- 1,120 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
require 5.008005;

use strict;
use utf8;

use Module::Build;

my $b = Module::Build->new(
	'module_name'	=> 'Net::IDN::Encode',

	'license'	=> 'perl',
	'dist_author'	=> 'Claus Färber <CFAERBER@cpan.org>',
	'dist_abstract' => 'Internationalizing Domain Names in Applications (UTS #46)',

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

	'requires'	=> {
		'Unicode::Normalize' => 0,
		'perl'	=> 5.008005,
	},
	'test_requires' => {
		'Test::More' => 0, 
		'Test::NoWarnings' => 0,
	},
	'needs_compiler' => undef,

	'PL_Files' => {
		'lib/Unicode/UTS46/_Mapping.PL'  => [
			 'lib/Net/IDN/UTS46/_Mapping.pm',
		],
		'lib/Unicode/UTS46/GenTests.PL'	 => [	
			't/uts46_to_ascii.t',
			't/uts46_to_ascii-trans.t',
 			't/uts46_to_unicode.t',
		],
	},
	'no_index' => {
		'directory' => ['eg', 'data']
	},
	'meta_add' => {
		'resources' => {
			'homepage' => 'https://metacpan.org/release/Net-IDN-Encode',
			'bugtracker' => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Net-IDN-Encode',
			'repository' => 'http://github.com/cfaerber/Net-IDN-Encode',
		},
	},
);

$b->create_build_script;