Build.PL   [plain text]



use Module::Build;

my $b = Module::Build->new
  (
   module_name => 'Path::Class',
   license => 'perl',
   requires => {
		'File::Spec' => 0.87,
		'File::Spec::Mac' => 1.3,
		'IO::Dir' => 0,
		'IO::File' => 0,
		'File::stat' => 0,
		'File::Path' => 0,
		'overload' => 0,
		'Cwd' => 0,
	       },
   build_requires => {
		      'Test::More' => 0,
		      'File::Temp' => 0,
		     },
   create_makefile_pl => 'traditional',
   create_readme => 1,
   meta_merge => {
     resources => {
       repository => 'http://perl-path-class.googlecode.com/svn/trunk',
       homepage => 'http://code.google.com/p/perl-path-class',
       bugtracker => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Path-Class',
     },
   },
   sign => 1,
  );

$b->create_build_script;