#!/usr/bin/env perl # -*- cperl -*- ############################################################################# require 5.006; use strict; # Load the Module::Install bundled in ./inc/ use inc::Module::Install; my $is_author_env = defined $ENV{USER} && $ENV{USER} =~ m{^(eserte|slavenr)}; # fill in the developer's user names here if ($is_author_env) { require File::Compare; require File::Temp; my($tmpfh,$tmpfile) = File::Temp::tempfile(SUFFIX => '.pm', UNLINK => 1); system("./dev/build.pl", "-o", $tmpfile); if (File::Compare::compare($tmpfile, 'lib/Image/Info.pm') != 0) { warn < '1.03' if $] < 5.008; recommends 'Compress::Zlib' => 0, 'Image::Xpm' => 1.0, 'Image::Xbm' => 1.0, 'XML::LibXML::Reader' => 0, 'XML::Simple' => 0; test_requires 'Test::More' => '0.62'; license 'perl'; author 'Slaven Rezic', 'Gisle Aas', 'Tels '; # Get most of the details from the primary module all_from 'lib/Image/Info.pm'; # Do not index these no_index directory => 'img', 'dev'; # Auto-install all dependencies from CPAN auto_install; repository 'git://github.com/eserte/image-info.git'; if ($is_author_env) { Makefile->postamble(<