adding missing prereqs
[language-befunge.git] / Build.PL
blob007146f50159072e626ef7b815db96d53a1aeb79
1 #!perl
3 # This file is part of Language::Befunge.
4 # Copyright (c) 2001-2009 Jerome Quelin, all rights reserved.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the same terms as Perl itself.
11 use strict;
12 use warnings;
14 use Module::Build;
16 my %requires = (
17     'perl'                  => '5.010',
18     'aliased'               => '0.22',
19     'Carp'                  => 0,
20     'Class::XSAccessor'     => 0,
21     'Config'                => 0,
22     'DateTime'              => 0,
23     'File::Spec::Functions' => 0,
24     'FindBin'               => 0,
25     'Getopt::Long'          => 0,
26     'IO::File'              => 0,
27     'Math::BaseCalc'        => 0, # BASE lib
28     'Math::Complex'         => 0, # CPLI lib
29     'Math::Trig'            => 0, # FIXP lib
30     'Readonly'              => 0,
31     'Storable'              => 0,
32     'Test::Builder'         => 0, # TEST lib
33     'Time::HiRes'           => 0, # HRTI lib
34     'UNIVERSAL::require'    => 0,
36 my %build_requires = (
37     %requires,
38     'IO::Handle'            => 0,
39     'IO::Pipe'              => 0,
40     'IO::Select'            => 0,
41     'List::Util'            => 0,
42     'POSIX'                 => 0,
43     'Test::Exception'       => 0,
44     'Test::More'            => 0,
45     'Test::Output'          => 0,
47 my %recommends = (
48     'Language::Befunge::Storage::Generic::Vec::XS' => 0,
49     'Language::Befunge::Vector::XS'                => '0.2.2',
50     'Test::Pod'                                    => 0,
51     'Test::Pod::Coverage'                          => 0,
55 my $builder = Module::Build->new
56   ( module_name          => 'Language::Befunge',
57     license              => 'perl',
58     dist_author          => 'Jerome Quelin <jquelin@cpan.org>',
59     dist_version_from    => 'lib/Language/Befunge.pm',
60     build_requires       => \%build_requires,
61     requires             => \%requires,
62     recommends           => \%recommends,
63     script_files         => [ 'bin/jqbef98' ],
64     add_to_cleanup       =>
65       [ 'Language-Befunge-*', '*.tmp', '*.bak', map { ( '*/' x $_ ) . '*~' } 0..5 ],
66     recursive_test_files => 1,
67     meta_merge           => {
68         resources => {
69             bugtracker  => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Language-Befunge',
70             homepage    => 'http://search.cpan.org/dist/Language-Befunge',
71             repository  => 'http://repo.or.cz/w/language-befunge.git',
72             MailingList => 'http://listes.mongueurs.net/mailman/listinfo/language-befunge'
73         },
74     },
75   );
76 $builder->create_build_script;