v0.9.3
[poe-component-client-mpd.git] / Build.PL
bloba71a7d017370efaf078e81a08c2c72d6283f6bf9
1 #!perl
3 # This file is part of POE::Component::Client::MPD.
4 # Copyright (c) 2007-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;
13 use Module::Build;
15 my %requires = (
16     'perl'                        => '5.010',
17     'Audio::MPD::Common'          => '0.1.4',
18     'Carp'                        => 0,
19     'Class::Accessor::Fast'       => 0,
20     'Exporter'                    => 0,
21     'POE'                         => 0,
22     'POE::Component::Client::TCP' => 0,
23     'Readonly'                    => 0,
25 my %build_requires = (
26     %requires,
27     'FindBin'    => 0,
28     'Test::More' => 0,
30 my %recommends = (
31     'Test::Pod'           => 0,
32     'Test::Pod::Coverage' => 0,
35 my $builder = Module::Build->new (
36     module_name       => 'POE::Component::Client::MPD',
37     dist_author       => 'Jerome Quelin <jquelin@cpan.org>',
38     license           => 'perl',
39     dist_version_from => 'lib/POE/Component/Client/MPD.pm',
40     script_files      => [ ],
41     build_requires    => \%build_requires,
42     requires          => \%requires,
43     recommends        => \%recommends,
44     add_to_cleanup    => [
45         'POE-Component-Client-MPD-*', 'MANIFEST.bak',
46         map { ( '*/' x $_ ) . '*~' } 0..6 ],
49 $builder->create_build_script();