Alien-ImageMagick
view release on metacpan or search on metacpan
lib/Alien/ImageMagick.pm view on Meta::CPAN
package Alien::ImageMagick;
use 5.006;
use strict;
use warnings;
use parent 'Alien::Base';
=head1 NAME
Alien::ImageMagick - cpanm compatible Image::Magick packaging.
=head1 VERSION
Version 0.10
=cut
our $VERSION = '0.10';
=head1 DESCRIPTION
This package's purpose is to make the installation
of the official Image Magick library and Perl interface
compatible with cpanm ( L<https://metacpan.org/pod/distribution/App-cpanminus/bin/cpanm> )
and perlbrew ( L<https://metacpan.org/pod/distribution/App-perlbrew/bin/perlbrew> ).
Installing it will download and install the B<freshest image magick library and Perl interface>
from the official Image Magick website ( See L<http://www.imagemagick.org/script/install-source.php> )
in a way that is compatible with perlbrew and/or cpanm.
Alternatively, you may use the environment variable C<PERL_ALIEN_IMAGEMAGICK_VERSION>
to pin a particular version of Image Magick (e.g. "7.1.1-30").
If you use cpanm or perlbrew, this will not conflict with your system's Image Magick installation.
=head1 INSTALLATION
To use this package and use Image::Magick from your application code:
Instead of depending on 'Image::Magick', just B<depend on 'Alien::ImageMagick'>.
Then see L<http://www.imagemagick.org/script/perl-magick.php#overview> for more on using image magic with perl.
=over
=item With System Perl
If you need to use Image::Magick and use system perl and system PerlMagick, you only
need this package if you want the freshest version of Image Magick.
Install Alien::ImageMagick with your favorite package manager.
=item With cpanm
If you need to use Image::Magick and use cpanm, you only need this package
if you want the freshest version of Image Magick. Otherwise you can install
your system's one.
cpanm Alien::ImageMagick
=item With perlbrew + cpanm
If you need to use Image::Magick and use perlbrew w/ cpanm, you will need this
package.
cpanm Alien::ImageMagick
( run in 0.849 second using v1.01-cache-2.11-cpan-b50b6a40fd4 )