The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
# This Makefile.PL for  was generated by Dist::Zilla.
# Don't edit it but the dist.ini used to construct it.
BEGIN { require 5.008_000; }
use strict;
use warnings;
use ExtUtils::MakeMaker 6.30;


if (open my $olderr, '>&', \*STDERR) {
   close STDERR;
   my $exists = open my $fh, '|-', 'potrace';
   close $fh;
   open STDERR, '>&', $olderr;
   if (! $exists) {
      warn "potrace not found, avoiding generating Makefile\n";
      exit 0;
   }
}

my %WriteMakefileArgs = (
  "ABSTRACT" => "bindings to the potrace library",
  "AUTHOR" => "Flavio Poletti <polettix\@cpan.org>",
  "BUILD_REQUIRES" => {},
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => "6.30"
  },
  "DISTNAME" => "Graphics-Potrace",
  "EXE_FILES" => [],
  "INC" => "-I/opt/local/include",
  "LIBS" => [
    "-L/opt/local/lib -lpotrace"
  ],
  "LICENSE" => "artistic_2",
  "NAME" => "Graphics::Potrace",
  "PREREQ_PM" => {
    "Moo" => "0.009011"
  },
  "TEST_REQUIRES" => {},
  "VERSION" => "0.73",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
  my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
  my $pp = $WriteMakefileArgs{PREREQ_PM};
  for my $mod ( keys %$br ) {
    if ( exists $pp->{$mod} ) {
      $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
    }
    else {
      $pp->{$mod} = $br->{$mod};
    }
  }
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);