Makefile.PL 1.75 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
use 5.008;
use ExtUtils::MakeMaker;

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    NAME         => 'Lemonldap::NG::Portal',
    VERSION_FROM => 'lib/Lemonldap/NG/Portal.pm',
    LICENSE      => 'gpl',
    META_MERGE   => {
        'recommends' => {
            'Convert::PEM'          => 0,
            'Crypt::OpenSSL::X509'  => 0,
            'Email::Date::Format'   => 0,
            'Lasso'                 => '2.3.0',
            'Net::OpenID::Consumer' => 0,
            'Net::OpenID::Server'   => 0,
            'Net::Twitter'          => 0,
        },
    },
    BUILD_REQUIRES => {
        'Crypt::OpenSSL::X509' => 0,
        'IO::String'           => 0,
        'SOAP::Lite'           => 0,
    },
    PREREQ_PM => {
        'Apache::Session'        => 0,
        'CGI'                    => 3.08,
        'File::Basename'         => 0,
        'HTML::Template'         => 0,
Clément Oudot's avatar
Clément Oudot committed
31 32
        'Lemonldap::NG::Common'  => '1.1.1',
        'Lemonldap::NG::Handler' => '1.1.1',
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
        'MIME::Lite'             => 0,
        'Net::LDAP'              => 0,
        'String::Random'         => 0,
        'XML::LibXML'            => 0,
        'XML::LibXSLT'           => 0,
        'Clone'                  => 0,
    },
    (
        $] >= 5.005
        ?    ## Add these new keywords supported since 5.005
          (
            ABSTRACT_FROM =>
              'lib/Lemonldap/NG/Portal.pm',    # retrieve abstract from module
            AUTHOR => 'Xavier Guimard <x.guimard@free.fr>'
              . ', Clément Oudot <clement@oodo.net>'
              . ', Thomas Chemineau <thomas.chemineau@gmail.com>'
              . ', Mikael Ates <mikael.ates@univ-st-etienne.fr>'
          )
        : ()
    ),
);