Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 52 lines (47 sloc) 2.21 KB
use strict;
use Module::Build;
my $build_class = 'Module::Build';
$build_class = $build_class->subclass(code => q{
sub process_install_files {
system("mkdir -p blib/lib/auto/OurCal");
system("cp -r templates images index.cgi blib/lib/auto/OurCal");
}
},
);
my $build = $build_class
->new( module_name => "OurCal",
license => 'perl',
version_from => 'lib/OurCal.pm',
script => [ ],
requires => {
'CGI' => 0,
'CGI::Carp' => 0,
'Carp' => 0,
'Config::INI::Reader' => 0,
'DBI' => 0,
'Data::ICal::DateTime' => 0,
'Data::ICal::Entry::Event' => 0,
'DateTime' => 0,
'DateTime::Span' => 0,
'Digest::MD5' => 0,
'File::Path' => 0,
'File::ShareDir' => 0,
'File::Spec' => 0,
'HTTP::Date' => 0,
'LWP::Simple' => 0,
'Lingua::EN::Numbers::Ordinate' => 0,
'Module::Pluggable' => 0,
'Storable' => 0,
'Template' => 0,
'Template::Plugin::Class' => 0,
'Template::Plugin::Chump' => 0,
'Test::More' => '0.62',
'Text::Chump' => 0,
'UNIVERSAL::require' => 0,
'URI::Find::Simple' => 0,
},
create_makefile_pl => 'passthrough',
);
#$build->{config}{__extras_from} = [ 'templates', 'images', 'index.cgi' ];
$build->add_build_element('install');
$build->create_build_script;
Something went wrong with that request. Please try again.