first pass at the Changes introduced by the branch
[language-befunge.git] / Build.PL
blob56bb7eaa32140a47c5173bc7ffa6f40e9aee6e5e
1 #!perl
3 # This file is part of Language::Befunge.
4 # Copyright (c) 2001-2008 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;
15 my $builder = Module::Build->new
16   ( module_name          => 'Language::Befunge',
17     license              => 'perl',
18     dist_author          => 'Jerome Quelin <jquelin@cpan.org>',
19     dist_version_from    => 'lib/Language/Befunge.pm',
20     build_requires       => {
21         'perl'                  => '5.010',
22         'aliased'               => '0.22',
23         'Class::Accessor::Fast' => 0,
24         'Storable'              => 0,
25         'Test::More'            => 0,
26         'UNIVERSAL::require'    => 0,
27     },
28     requires             => {
29         'perl'                  => '5.010',
30         'aliased'               => '0.22',
31         'Class::Accessor::Fast' => 0,
32         'Storable'              => 0,
33         'UNIVERSAL::require'    => 0,
34     },
35     recommends           => {
36         'Language::Befunge::Vector::XS' => '0.2.2',
37         'Test::Exception'               => 0,
38         'Test::Pod'                     => 0,
39         'Test::Pod::Coverage'           => 0,
40     },
41     script_files         => [ 'bin/jqbf98' ],
42     add_to_cleanup       =>
43       [ 'Language-Befunge-*', map { ( '*/' x $_ ) . '*~' } 0..5 ],
44     recursive_test_files => 1,
45   );
46 $builder->create_build_script;