diff --git a/Build.PL b/Build.PL deleted file mode 100644 index 12e1117..0000000 --- a/Build.PL +++ /dev/null @@ -1,18 +0,0 @@ -use strict; -use warnings; -use Module::Build; - -my $builder = Module::Build->new( - module_name => 'feedGnuplot', - license => 'perl', - dist_author => q{Dima Kogan }, - dist_version_from => 'bin/feedGnuplot', - build_requires => { - 'Test::Script::Run' => 0, - }, - add_to_cleanup => [ 'feedGnuplot-*' ], - create_makefile_pl => 'traditional', - script_files => ['bin/feedGnuplot'], -); - -$builder->create_build_script(); diff --git a/MANIFEST b/MANIFEST index b1bf278..e7aa2fd 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,9 +1,6 @@ -Build.PL +Makefile.PL Changes MANIFEST -README.pod bin/feedGnuplot t/00-load.t t/manifest.t -Makefile.PL -META.yml diff --git a/META.yml b/META.yml deleted file mode 100644 index 7a30d27..0000000 --- a/META.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: feedGnuplot -version: 1.00 -author: - - 'Dima Kogan ' -abstract: A pipe-oriented frontend to Gnuplot -license: perl -resources: - license: http://dev.perl.org/licenses/ -build_requires: - Test::Script::Run: 0 -configure_requires: - Module::Build: 0.340201 -generated_by: Module::Build version 0.340201 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 diff --git a/Makefile.PL b/Makefile.PL index cd28fe6..30c1bd4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,16 +1,20 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.340201 +use strict; +use warnings; use ExtUtils::MakeMaker; + WriteMakefile -( - 'NAME' => 'feedGnuplot', - 'VERSION_FROM' => 'bin/feedGnuplot', - 'PREREQ_PM' => { - 'Test::Script::Run' => 0 - }, - 'INSTALLDIRS' => 'site', - 'EXE_FILES' => [ - 'bin/feedGnuplot' - ], - 'PL_FILES' => {} - ) -; + ( + NAME => 'feedGnuplot', + AUTHOR => q{Dima Kogan }, + VERSION_FROM => 'bin/feedGnuplot', + ABSTRACT_FROM => 'bin/feedGnuplot', + ($ExtUtils::MakeMaker::VERSION >= 6.3002 + ? ('LICENSE' => 'perl') + : ()), + PL_FILES => {}, + EXE_FILES => [ 'bin/feedGnuplot' ], + PREREQ_PM => { 'Test::Script::Run' => 0 }, + dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, + clean => { FILES => 'feedGnuplot-*' }, + ); +