Alien-Libarchive

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

use strict; use warnings;
BEGIN {
  unless(eval q{ use 5.006; 1}) {
    print "Perl 5.006 or better required\n";
    exit;
  }
}

# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.006.
use strict;
use warnings;

use Module::Build 0.3601;
use lib qw{inc}; use My::ModuleBuild;

my %module_build_args = (
  "build_requires" => {
    "Alien::Libarchive::Installer" => "0.15",
    "Alien::bz2::Installer" => "0.03",
    "Module::Build" => "0.3601"
  },
  "configure_requires" => {
    "Alien::Libarchive::Installer" => "0.15",
    "Alien::bz2::Installer" => "0.03",
    "Module::Build" => "0.3601",
    "perl" => "5.006"
  },
  "dist_abstract" => "Build and make available libarchive",
  "dist_author" => [
    "Graham Ollis <plicease\@cpan.org>"
  ],
  "dist_name" => "Alien-Libarchive",
  "dist_version" => "0.28",
  "license" => "perl",
  "module_name" => "Alien::Libarchive",
  "recursive_test_files" => 1,
  "requires" => {
    "Alien::Libarchive::Installer" => "0.15",
    "File::ShareDir" => 0,
    "perl" => "5.006"
  },
  "share_dir" => {
    "dist" => "share"
  },
  "test_requires" => {
    "Test::More" => "0.94",
    "perl" => "5.006"
  }
);


my %fallback_build_requires = (
  "Alien::Libarchive::Installer" => "0.15",
  "Alien::bz2::Installer" => "0.03",
  "Module::Build" => "0.3601",
  "Test::More" => "0.94",
  "perl" => "5.006"
);


unless ( eval { Module::Build->VERSION(0.4004) } ) {
  delete $module_build_args{test_requires};
  $module_build_args{build_requires} = \%fallback_build_requires;
}

my $build = My::ModuleBuild->new(%module_build_args);


$build->create_build_script;



( run in 0.852 second using v1.01-cache-2.11-cpan-787462296c9 )