-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
82 lines (79 loc) · 2.44 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
use strict;
use warnings;
use 5.10.0;
use Module::Build;
### do not install these packages on Windows
my %non_windows = ();
$non_windows{'POE::Loop::Prima'} = '1.03' if $^O !~ /win32/i;
my $build = Module::Build->new(
module_name => 'App::financeta',
license => 'gpl',
dist_author => 'Vikas N. Kumar <[email protected]>',
dist_abstract => 'App::financeta is a Technical Analysis GUI',
dist_version_from => 'lib/App/financeta.pm',
create_readme => 0,
configure_requires => {
'Module::Build' => 0,
'File::ShareDir' => '1.118',
},
build_requires => {
'Module::Build' => 0,
'File::ShareDir' => '1.118',
'Test::More' => 0,
},
requires => {
perl => '5.10.0',
'Carp' => 0,
'POSIX' => 0,
'Cwd' => 0,
'Pod::Usage' => '2.03',
'Data::Dumper' => '2.183',
'File::Spec' => '3.78',
'File::ShareDir' => '1.118',
'File::HomeDir' => '1.006',
'File::Path' => '2.18',
'Path::Tiny' => '0.144',
'Capture::Tiny' => '0.48',
'Try::Tiny' => '0.31',
'PDL' => '2.081',
'DateTime' => '1.59',
'DateTime::Format::Strptime' => '1.79',
'Finance::QuoteHist' => '1.32',
'LWP::UserAgent' => '6.52',
'JSON::XS' => '4.03',
'PDL::Finance::TA' => '0.010',
'Prima' => '1.68002',
'PDL::Graphics::Gnuplot' => '2.021',
'Scalar::Util' => '1.63',
'Getopt::Long' => '2.54',
'Browser::Open' => '0.04',
'YAML::Any' => '1.30',
'Pegex' => '0.75',
'Perl::Tidy' => 0,
'Log::Any' => '1.713',
'Template::Toolkit' => '3.100',
%non_windows,
},
dynamic_config => 1,
add_to_cleanup => [ qw/*.bak _Inline/ ],
meta_merge => {
resources => {
repository => "https://github.com/vikasnkumar/financeta",
bugtracker => "https://github.com/vikasnkumar/financeta/issues",
},
keywords => [qw/ finance technical-analysis technical analysis/],
no_index => {
directory => [qw/ t share /],
},
},
share_dir => 'share',
installdirs => ($^O =~ /Darwin/i) ? 'core' : 'site',
);
$build->create_build_script;
$build->dispatch('distmeta');
$build->dispatch('manifest');
__END__
#### COPYRIGHT: 2013. Vikas N Kumar. All Rights Reserved
#### AUTHOR: Vikas N Kumar <[email protected]>
#### DATE: 18th Dec 2013
#### LICENSE: Refer LICENSE file.