Use Module::Build instead of ExtUtils::MakeMaker.

This commit is contained in:
Jens Luedicke
2010-12-28 19:01:10 +01:00
parent 485e8a111d
commit 3c9a68d4ec
6 changed files with 14 additions and 20 deletions

12
Build.PL Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/perl
use strict;
use Module::Build;
Module::Build->new( module_name => 'File::DirWalk',
author => 'jens.luedicke@gmail.com',
license => 'perl',
requires => {'Test::Simple' => '0.72'},
sign => 1,
create_makefile_pl => 'traditional',
)->create_build_script;

View File

@@ -1,7 +1,5 @@
DirWalk.pm
lib/File/DirWalk.pm
MANIFEST
META.yml
Makefile.PL
README
configure
t/1.t

0
META.yml Normal file
View File

View File

@@ -1,14 +0,0 @@
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'File::DirWalk',
'VERSION_FROM' => 'DirWalk.pm',
'PREREQ_PM' => {
'File::Basename' => 0,
'File::Spec' => 0,
},
($] >= 5.005
? (AUTHOR => 'Jens Luedicke <jensl@cpan.org>')
: ()
),
);

2
configure vendored
View File

@@ -1,2 +0,0 @@
#!/bin/sh
exec perl ./Makefile.PL "$@"

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2005-2006 Jens Luedicke <jensl@cpan.org>. All rights reserved.
# Copyright (c) 2005-2010 Jens Luedicke <jensl@cpan.org>. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.