App-Glacier
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
# -*- perl -*-
use strict;
use warnings;
use ExtUtils::MakeMaker;
use Module::Metadata;
use Pod::Find qw(pod_where);
use Pod::Usage;
WriteMakefile(NAME => 'App::Glacier',
ABSTRACT_FROM => 'lib/App/Glacier.pm',
VERSION_FROM => 'lib/App/Glacier.pm',
AUTHOR => 'Sergey Poznyakoff <gray@gnu.org>',
LICENSE => 'gpl_3',
EXE_FILES => [ 'glacier' ],
PREREQ_PM => { 'Carp' => 1.26,
'Data::Dumper' => 2.135_06,
'DateTime' => 1.42,
'DateTime::Format::ISO8601' => 0.08,
'Digest::SHA' => 5.85,
'Exporter' => 5.66,
'File::Basename' => 2.84,
'File::Path' => 2.08_01,
'File::stat' => 1.05,
'GDBM_File' => 1.14,
'Getopt::Long' => 2.38,
'JSON' => 2.90,
'Net::Amazon::Glacier' => 0.15,
'POSIX' => 1.30,
'Pod::Find' => 1.51,
'Pod::Man' => 2.25,
'Pod::Usage' => 1.51,
'Scalar::Util' => 1.47,
'Storable' => 2.34,
'Term::ReadKey' => 2.32,
'Text::Locus' => 1.01
},
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'git://git.gnu.org.ua/glacier.git',
web => 'http://git.gnu.org.ua/cgit/glacier.git/',
},
bugtracker => {
web => 'https://puszcza.gnu.org.ua/bugs/?group=glacier',
mailto => 'gray+glacier@gnu.org.ua'
}
},
provides => Module::Metadata->provides(version => '1.4',
dir => 'lib')
}
);
sub pod_command_name {
my ($pack) = @_;
my %args;
my $msg = "";
open my $fd, '>', \$msg;
$args{-input} = pod_where({-inc => 1}, $pack);
pod2usage(-verbose => 99,
-sections => 'NAME',
-output => $fd,
-exitval => 'NOEXIT',
%args);
my @a = split /\n/, $msg;
return undef if $#a < 1;
$msg = $a[1];
$msg =~ s/^\s+//;
$msg =~ s/ - .*$//;
return $msg;
}
( run in 1.054 second using v1.01-cache-2.11-cpan-5a3173703d6 )