aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
blob: 20c6efc0e4cbe522bc9141299849e1a92dc19a16 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
use 5.006;
use strict;
use warnings FATAL => 'all';
use ExtUtils::MakeMaker;
use File::ShareDir::Install;

install_share dist => 'share'; 


WriteMakefile(
    NAME             => 'AdminPanel',
    AUTHOR           => q{Angelo Naselli <anaselli@linux.it> - Matteo Pasotti <matteo.pasotti@gmail.com>},
    VERSION_FROM     => 'lib/AdminPanel/MainDisplay.pm',
    ABSTRACT         => 'AdminPanel is a generic launcher application that can run perl modules or external programs using Suse YUI abstarction.',
    LICENSE          => 'GPL_2',
    PL_FILES         => {},
    MIN_PERL_VERSION => 5.006,
    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => 0,
    },
    BUILD_REQUIRES => {
        'Test::More' => 0,
    },
    PREREQ_PM => {
        #'ABC'              => 1.6,
        #'Foo::Bar::Module' => 5.0401,
        "Moose"             => 0,
        "Config::Auto"      => 0,        
        "Config::Hosts"     => 0,        
        # AdminPanel::Shared::Locales
        "Locale::gettext"   => 0,
        "Text::Iconv"       => 0,
	"Date::Simple"      => 0,
	"File::HomeDir"     => 0,
	"File::ShareDir"    => 0,
	"Data::Password::Meter"    => 0,
	"Modern::Perl"      => 1.03,
	"autodie"           => 2.20,
    },
    EXE_FILES => [ qw( scripts/adminMouse  
                       scripts/adminService  
                       scripts/adminUser  
                       scripts/apanel.pl
                       scripts/hostmanager
                       scripts/logviewer
                       scripts/mgaAddUser
                       ) ],
    dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean => { FILES => 'AdminPanel-*' },
);

package MY;
use File::ShareDir::Install 'postamble';