# -*- mode: cperl; tab-width: 8; indent-tabs-mode: nil; basic-offset: 2 -*-
# vim:ts=8:sw=2:et:sta:sts=2
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
				 module_name         => 'ClearPress',
				 dist_author         => 'Roger M Pettett <rpettett@cpan.org>',
				 dist_version_from   => 'lib/ClearPress.pm',
				 dist_abstract       => q[ClearPress - Simple, fresh & fruity MVC framework],
				 license             => 'perl',
				 requires            => {
                                                         'perl'                 => '5.8.8',
							 'Class::Accessor'      => '0.31',
							 'Config::IniFiles'     => '2.38',
							 'CGI'                  => '3.20',
                                                         'Data::UUID'           => '1.220',
							 'DBI'                  => '1.51',
							 'English'              => '1.01',
							 'Carp'                 => '1.02',
							 'Template'             => '2.19',
							 'Template::Filters'    => '2.24',
							 'Lingua::EN::Inflect'  => '1.89',
							 'Lingua::EN::PluralToSingular' => '0.17',
                                                         'Locale::Maketext'     => '1.19',
                                                         'Locale::Maketext::Lexicon' => '0.91',
                                                         'MIME::Base64'         => '3.15',
                                                         'IO::Capture'          => '0.05',
							 'IO::Scalar'           => '2.110',
							 'POSIX'                => '1.09',
							 'Readonly'             => '1.03',
							 'XML::Simple'          => '2.18',
							 'HTML::Entities'       => '1.35',
                                                         'HTTP::Server::Simple' => '0.44',
                                                         'HTTP::ClientDetect::Language' => '0.03',
							 'base'                  => '2.13',
							 'strict'                => '1.03',
							 'warnings'              => '1.05',
							 'YAML::Tiny'            => '1.36',
							 'Crypt::CBC'            => '2.30',
							 'Crypt::Blowfish'       => '2.10',
							 'MIME::Base64'          => '3.07',
							},
				 recommends          => {
							 'Crypt::MySQL'          => '0.04',
							 'DBD::SQLite'           => '1.14',
							 'DBD::mysql'            => '4.007',
							 'Digest::MD5'           => '2.39',
							 'Digest::SHA'           => '5.47',
							 'Net::LDAP'             => '0.39',
							},
				 build_requires      => {
							 'CPAN'                  => '1.9205',
							 'Cwd'                   => '3.2701',
							 'File::Copy'            => '2.09',
							 'File::Path'            => '2.07_02',
							 'File::Spec'            => '3.2701',
                                                         'File::Temp'            => '0.22',
                                                         'indirect'              => '0.31',
                                                         'multidimensional'      => '0.010',
                                                         'bareword::filehandles' => '0.003',
							 'JSON'                  => '2.12',
							 'Test::More'            => '0.8',
                                                         'Test::Number::Delta'   => '1.06',
							 'Test::Trap'            => '0',
							 'XML::LibXML'           => '1.66',
							 'XML::Simple'           => '2.18',
							 'XML::TreeBuilder'      => '3.09',
                                                         'XML::XPath'            => '1.30',
							},
				 build_recommends    => {
                                                         'Spreadsheet::ParseExcel' => '0.59',
							 'Test::Distribution'      => '0',
							 'Test::Perl::Critic'      => '0',
							},
                                 configure_requires  => {
                                                         'Module::Build'           => '0.38',
                                                        },
				meta_merge => {
					resources => {
						repository => 'http://github.com/rmp/libclearpress-perl',
					},
				},
                                 recursive_test_files => 1,
				 script_files        => [qw(bin/clearpress)],
                                 tap_harness_args    => {
                                                         jobs      => 10,
                                                         verbosity => 1,
                                                         merge     => 1,
#                                                         xmlfile   => 'tap-harness-junit.xml',
                                                        },

				);

$builder->create_build_script();
