Apache-UpnpImgBrowser
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
use ExtUtils::MakeMaker;
##
# Constants
##
my $NAME = 'Apache::UpnpImgBrowser';
my $VERSION_FROM = 'UpnpImgBrowser.pm';
my $COMPRESS = 'gzip';
my $SUFFIX = '.gz';
my $DEFAULT_PREREQ_PM = {
Image::Magick => '',
Net::UPnP => '',
SOAP::Lite => '',
XML::Simple => '',
Data::Dumper => '',
Cache::FileCache => '',
URI::Escape => '',
LWP::Simple => '',
};
#my @NON_IPC_TESTS = ( 't/1_test.t',
# 't/2_test.t',
# 't/3_test.t',
# 't/5_test.t',
# 't/6_test.t' );
##
# Main
##
Main( );
##
# Subroutines
##
sub Main
{
my %options;
$options{NAME} = $NAME;
$options{VERSION_FROM} = $VERSION_FROM;
$options{dist} = { COMPRESS => $COMPRESS, SUFFIX => $SUFFIX };
$options{PREREQ_PM} = $DEFAULT_PREREQ_PM;
WriteMakefile( %options );
# Print_Make_Test_Message( );
}
sub Has_Module
{
my ( $module ) = @_;
print "Checking for $module... ";
my $has_module = ( eval "require $module" && ! $@ );
print ( $has_module ? "found\n" : "not found\n" );
return $has_module;
}
( run in 3.202 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )