
# This file was automatically generated by Dist::Zilla::Plugin::Alien v0.023.
use strict;
use warnings;

use Module::Build 0.28;
use lib qw{inc}; use Alien::Base::ModuleBuild;

my %module_build_args = (
  "alien_bin_requires" => {
    "Alien::gmake" => "0.14",
    "Alien::patch" => "0.08"
  },
  "alien_build_commands" => [
    "%{patch} -p1 < ../../patch/freebsd-no-have-incbin.diff",
    "%{gmake} HAVE_GLFW=no"
  ],
  "alien_inline_auto_include" => [],
  "alien_install_commands" => [
    "%{gmake} HAVE_GLFW=no prefix=%s install"
  ],
  "alien_name" => "MuPDF",
  "alien_repository" => {
    "host" => "mupdf.com",
    "location" => "/downloads/",
    "pattern" => "^mupdf-([\\w\\.]+)-source\\.tar\\.gz\$",
    "protocol" => "http"
  },
  "configure_requires" => {
    "Alien::Base::ModuleBuild" => "0.020",
    "File::ShareDir" => "1.03",
    "Path::Class" => "0.013"
  },
  "dist_abstract" => "Alien package for the MuPDF PDF rendering library",
  "dist_author" => [
    "Zakariyya Mughal <zmughal\@cpan.org>"
  ],
  "dist_name" => "Alien-MuPDF",
  "dist_version" => "0.006",
  "license" => "perl",
  "module_name" => "Alien::MuPDF",
  "recommends" => {
    "Inline" => "0.67",
    "Inline::C" => "0.62"
  },
  "recursive_test_files" => 1,
  "requires" => {
    "Alien::Base" => "0.020",
    "File::ShareDir" => "1.03",
    "File::Spec" => 0,
    "Path::Class" => "0.013",
    "parent" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "script_files" => [
    "bin/mutool"
  ],
  "test_requires" => {
    "Capture::Tiny" => 0,
    "Cwd" => 0,
    "File::Basename" => 0,
    "File::Which" => "1.21",
    "Module::Load" => 0,
    "Test::More" => 0
  }
);


my %fallback_build_requires = (
  "Capture::Tiny" => 0,
  "Cwd" => 0,
  "File::Basename" => 0,
  "File::Which" => "1.21",
  "Module::Load" => 0,
  "Test::More" => 0
);


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

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


$build->create_build_script;
