Album

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

# Makefile.PL -- Makefile for album	-*-perl-*-
# Author          : Johan Vromans
# Created On      : Fri Jul  9 15:45:48 2004
# Last Modified By: Johan Vromans
# Last Modified On: Wed Jul  8 17:31:55 2026
# Update Count    : 33
# Status          : Experimental

use strict;
use ExtUtils::MakeMaker;
use Config;

my @scripts = qw (album);
my $usrbin = "/usr/bin";
my $installscript = $Config{installscript};

print STDERR <<EOD unless $installscript eq $usrbin;

WARNING: This Makefile will install user accessible scripts.
The location for these scripts is $installscript.
You may consider to pass INSTALLSCRIPT=$usrbin (or some other
convenient location) to "make install".
EOD

print STDERR <<EOD;

This program requires some helper programs.

  jpegtran    will be used to rotate JPEG files loslessly.
	      If missing, JPEG files will be rotated by ImageMagick,
	      with possible loss of information.
EOD
checkexec("jpegtran");

print STDERR <<EOD;

  mencoder    is needed to manipulate MPEG files.
	      If missing, MPEG movies will be copied, and cannot be rotated.
EOD
checkexec("mencoder");

print STDERR <<EOD;

  mplayer     is used to extract a still image from MPEG files, and
	      to extract audio from VOICE files.
	      If missing, no stills will be produced, and VOICE files
	      will remain silent.
EOD
checkexec("mplayer");

# Image::Magick doesn't build, so do not depend.
print STDERR <<EOD;

  Image::Magick  is used for various image manipulations.
              Please make sure you have it installed.

EOD


print STDERR ("\n");

WriteMakefile
  (
   NAME         => "Album",
   VERSION_FROM => "lib/Album.pm",
   ($] >= 5.005) ?
   ( AUTHOR	=> 'Johan Vromans (jvromans@squirrel.nl)',
     ABSTRACT	=> 'Creates HTML based photo albums' ) : (),
   PREREQ_PM	=> { 'Getopt::Long' => 2.13,
		     'Image::Info' => 1.16,
#		     'Image::Magick' => 6,
		     'File::Spec' => 0,
		   },
   EXE_FILES    => [ map { "script/$_" } @scripts ],
   META_MERGE => {
    no_index => {
        file => [
		  "lib/Album/Tutorial.pm",
        ]
    },
    resources    => {
      repository => 'https://github.com/sciurius/album',
      bugtracker => "https://github.com/sciurius/album/issues",
      license    => "https://dev.perl.org/licenses/",
    },
    'meta-spec' => {
      version => '2',
      url     => 'https://metacpan.org/pod/CPAN::Meta::Spec',
    },



( run in 0.534 second using v1.01-cache-2.11-cpan-acf6aa7dc9e )