-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathBuild.PL
54 lines (39 loc) · 953 Bytes
/
Build.PL
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
#!/usr/bin/perl
=head1 NAME
Build.PL - Build script generator for C<Geo::Google::PolylineEncoder> module
=head1 SYNOPSIS
perl Build.PL
./Build
./Build test
./Build install
=cut
use strict;
use warnings;
use File::Spec;
use Module::Build;
my $build = Module::Build->new
(
module_name => 'Geo::Google::PolylineEncoder',
dist_version_from => 'lib/Geo/Google/PolylineEncoder.pm',
create_makefile_pl => 'passthrough',
create_readme => 1,
license => 'perl',
requires => {
'perl' => '5.6.0',
'accessors' => '0.02',
},
build_requires => {
'Test::More' => '0.01',
'Module::Build' => '0.20',
'IO::File' => '0.01',
},
build_reccomends => {
'Test::Approx' => '0.03',
'Geo::Gpx' => '0.21',
},
);
$build->create_build_script;
__END__
=head1 AUTHOR
Steve Purkis <[email protected]>
=cut