Use Module::Build instead of ExtUtils::MakeMaker.
This commit is contained in:
12
Build.PL
Normal file
12
Build.PL
Normal 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;
|
||||||
4
MANIFEST
4
MANIFEST
@@ -1,7 +1,5 @@
|
|||||||
DirWalk.pm
|
lib/File/DirWalk.pm
|
||||||
MANIFEST
|
MANIFEST
|
||||||
META.yml
|
META.yml
|
||||||
Makefile.PL
|
|
||||||
README
|
README
|
||||||
configure
|
|
||||||
t/1.t
|
t/1.t
|
||||||
|
|||||||
14
Makefile.PL
14
Makefile.PL
@@ -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>')
|
|
||||||
: ()
|
|
||||||
),
|
|
||||||
);
|
|
||||||
@@ -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
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the same terms as Perl itself.
|
# modify it under the same terms as Perl itself.
|
||||||
|
|
||||||
Reference in New Issue
Block a user