Image-Synchronize

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

use v5.13.2;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    NAME              => 'Image::Synchronize',
    VERSION_FROM      => 'lib/Image/Synchronize.pm', # finds $VERSION, requires EU::MM from perl >= 5.5
    EXE_FILES => [ 'bin/imsync' ],
    PREREQ_PM         => {
                          'Clone' => 0,
                          'IO::Interactive' => 0,
                          'Image::ExifTool' => '10.14',
                          'Modern::Perl' => 0,
                          'Path::Class' => 0,
                          'Path::Iterator::Rule' => 0,
                          'Term::ProgressBar' => 0,
                          'Text::Glob' => 0,
                          'Time::Local' => '1.30',
                          'XML::Twig' => 0,
                          'YAML::Any' => 0,
                         },
    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => '0',
    },
    ABSTRACT_FROM     => 'lib/Image/Synchronize.pm', # retrieve abstract from module
    AUTHOR            => 'Louis Strous <LS@quae.nl>',
    LICENSE           => 'perl',
    META_MERGE =>
              {
               'meta-spec' => { version => 2 },
               resources =>
               {
                repository =>
                {
                 type => 'git',
                 url  => 'https://github.com/LouisStrous/p5-Image-Synchronize.git',
                 web  => 'https://github.com/LouisStrous/p5-Image-Synchronize',
               },
                bugtracker =>
                {
                 web => 'https://github.com/LouisStrous/p5-Image-Synchronize/issues'
               },
              },
             },
            );

sub MY::postamble {
  return <<'EOD';
# for MS Windows
imsync.exe: $(TO_INST_PM) $(EXE_FILES)
	pp -o imsync.exe -B -c bin/imsync

# for the imsync.quae.nl website
html: html/en/imsync.html html/nl/imsync.html

html/en/imsync.html: bin/imsync
	pod2cpanhtml $< > $@

html/nl/imsync.html: bin/imsync-nl.pod
	pod2cpanhtml $< > $@
EOD
}



( run in 1.047 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )