Makefile.PL 2.61 KB
Newer Older
Yadd's avatar
Yadd committed
1
use 5.014;
2
use ExtUtils::MakeMaker;
Yadd's avatar
Yadd committed
3

4 5 6
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
Yadd's avatar
Yadd committed
7 8
    NAME         => 'Lemonldap::NG::Portal',
    VERSION_FROM => 'lib/Lemonldap/NG/Portal.pm',
Yadd's avatar
Yadd committed
9 10 11
    LICENSE      => 'gpl',
    META_MERGE   => {
        'recommends' => {
Yadd's avatar
Yadd committed
12
            'Convert::Base32'       => 0,
Yadd's avatar
Yadd committed
13
            'DBI'                   => 0,
14
            'Email::Sender'         => 1.300027,
Yadd's avatar
Yadd committed
15 16 17 18
            'GD::SecurityImage'     => 0,
            'Glib'                  => 0,
            'HTTP::Message'         => 0,
            'Image::Magick'         => 0,
Yadd's avatar
Yadd committed
19
            'IPC::Run'              => 0,
Yadd's avatar
Yadd committed
20
            'Lasso'                 => '2.3.0',
Yadd's avatar
Yadd committed
21
            'LWP::UserAgent'        => 0,
Yadd's avatar
Yadd committed
22
            'LWP::Protocol::https'  => 0,
23
            'MIME::Entity'          => 0,
Yadd's avatar
Yadd committed
24
            'Net::Facebook::Oauth2' => 0,
Yadd's avatar
Yadd committed
25
            'Net::LDAP'             => 0.38,
Yadd's avatar
Yadd committed
26 27 28 29 30
            'Net::OAuth'            => 0,
            'Net::OpenID::Consumer' => 0,
            'Net::OpenID::Server'   => 0,
            'SOAP::Lite'            => 0,
            'String::Random'        => 0,
Yadd's avatar
Yadd committed
31
            'Unicode::String'       => 0,
Yadd's avatar
Yadd committed
32
            'Web::ID'               => 0,
Yadd's avatar
Yadd committed
33
        },
Yadd's avatar
Yadd committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
        resources => {
            repository => {
                url  => 'https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng.git',
                web  => 'https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng',
                type => 'git',
            },
            MailingList => 'mailto:lemonldap-ng-dev@ow2.org',
            license     => 'http://opensource.org/licenses/GPL-2.0',
            homepage    => 'http://lemonldap-ng.org/',
            bugtracker  => {
                web =>
                  'https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues',
            },
            x_twitter => 'https://twitter.com/lemonldapng',
        },
Yadd's avatar
Yadd committed
49
    },
50
    BUILD_REQUIRES => {
Yadd's avatar
Yadd committed
51 52 53 54 55 56 57 58
        'Convert::Base32' => 0,
        'Email::Sender'   => 0,
        'HTTP::Message'   => 0,
        'IO::String'      => 0,
        'LWP::UserAgent'  => 0,
        'MIME::Entity'    => 0,
        'SOAP::Lite'      => 0,
        'String::Random'  => 0,
59 60
    },
    PREREQ_PM => {
Yadd's avatar
Yadd committed
61
        'Clone'                  => 0,
Yadd's avatar
Yadd committed
62
        'Lemonldap::NG::Handler' => '2.0.2',
Yadd's avatar
Yadd committed
63
        'Regexp::Assemble'       => 0,
Yadd's avatar
Yadd committed
64 65 66 67 68 69 70
    },
    (
        $] >= 5.005
        ?    ## Add these new keywords supported since 5.005
          (
            ABSTRACT_FROM =>
              'lib/Lemonldap/NG/Portal.pm',    # retrieve abstract from module
Clément OUDOT's avatar
Clément OUDOT committed
71 72
            AUTHOR =>
'Xavier Guimard <x.guimard@free.fr>, Clément Oudot <clement@oodo.net>'
Yadd's avatar
Yadd committed
73 74 75
          )
        : ()
    ),
76
);