]> git.proxmox.com Git - libhttp-daemon-perl.git/blob - Makefile.PL
Update Vcs-* headers for switch to salsa.debian.org
[libhttp-daemon-perl.git] / Makefile.PL
1 #!perl -w
2
3 require 5.008001;
4 use strict;
5 use ExtUtils::MakeMaker;
6
7 WriteMakefile(
8 NAME => 'HTTP::Daemon',
9 VERSION_FROM => 'lib/HTTP/Daemon.pm',
10 ABSTRACT_FROM => 'lib/HTTP/Daemon.pm',
11 AUTHOR => 'Gisle Aas <gisle@activestate.com>',
12 LICENSE => "perl",
13 MIN_PERL_VERSION => 5.008001,
14 PREREQ_PM => {
15 'Sys::Hostname' => 0,
16 'IO::Socket' => 0,
17 'HTTP::Request' => 6,
18 'HTTP::Response' => 6,
19 'HTTP::Status' => 6,
20 'HTTP::Date' => 6,
21 'LWP::MediaTypes' => 6,
22 },
23 META_MERGE => {
24 resources => {
25 repository => 'http://github.com/gisle/http-daemon',
26 MailingList => 'mailto:libwww@perl.org',
27 }
28 },
29 );
30
31
32 BEGIN {
33 # compatibility with older versions of MakeMaker
34 my $developer = -f ".gitignore";
35 my %mm_req = (
36 LICENCE => 6.31,
37 META_MERGE => 6.45,
38 META_ADD => 6.45,
39 MIN_PERL_VERSION => 6.48,
40 );
41 undef(*WriteMakefile);
42 *WriteMakefile = sub {
43 my %arg = @_;
44 for (keys %mm_req) {
45 unless (eval { ExtUtils::MakeMaker->VERSION($mm_req{$_}) }) {
46 warn "$_ $@" if $developer;
47 delete $arg{$_};
48 }
49 }
50 ExtUtils::MakeMaker::WriteMakefile(%arg);
51 };
52 }