2007-08-02 19:25:59 +02:00
|
|
|
use 5.000;
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
2014-08-12 08:06:26 +02:00
|
|
|
my %ARGV = map { my @r = split /=/,$_; defined $r[1] or $r[1]=1; @r } @ARGV;
|
|
|
|
my @exe_files = qw(bin/pandora_server bin/pandora_exec);
|
|
|
|
$ARGV{WITHOUT_TENTACLE} or push @exe_files, 'bin/tentacle_server';
|
|
|
|
|
2007-08-02 19:25:59 +02:00
|
|
|
WriteMakefile(
|
2010-11-05 11:48:54 +01:00
|
|
|
INSTALLSITELIB => '/usr/lib/perl5',
|
2010-11-07 04:03:49 +01:00
|
|
|
(($^O eq 'freebsd')
|
|
|
|
? (INSTALLSITELIB => '') : ()
|
|
|
|
),
|
2013-04-03 06:59:01 +02:00
|
|
|
($^O eq 'netbsd') ? (
|
2013-04-07 08:37:29 +02:00
|
|
|
INSTALLSITELIB => '',
|
2013-04-03 06:59:01 +02:00
|
|
|
INSTALLSITESCRIPT => '/usr/local/bin',
|
|
|
|
) :(),
|
2007-08-02 19:25:59 +02:00
|
|
|
NAME => 'PandoraFMS',
|
2009-01-12 17:20:33 +01:00
|
|
|
VERSION_FROM => 'lib/PandoraFMS/Config.pm',
|
2009-12-18 19:22:33 +01:00
|
|
|
AUTHOR => 'Artica ST <info@artica.es>',
|
2007-08-02 19:25:59 +02:00
|
|
|
PREREQ_PM => {
|
2011-07-07 10:48:38 +02:00
|
|
|
NetAddr::IP => 0,
|
2007-08-02 19:25:59 +02:00
|
|
|
DBI => 0,
|
2009-08-11 18:26:09 +02:00
|
|
|
threads::shared => 0,
|
|
|
|
IO::Socket => 0,
|
2011-08-10 13:33:28 +02:00
|
|
|
Socket6 => 0,
|
2009-08-11 18:26:09 +02:00
|
|
|
Time::Local => 0,
|
2007-08-02 19:25:59 +02:00
|
|
|
XML::Simple => 0,
|
2011-08-25 20:24:08 +02:00
|
|
|
XML::Twig => 0,
|
2007-08-02 19:25:59 +02:00
|
|
|
Time::HiRes => 0,
|
2008-08-05 12:55:41 +02:00
|
|
|
HTML::Entities => 0,
|
2011-08-10 13:33:28 +02:00
|
|
|
IO::Socket::INET6 => 0,
|
2012-08-29 14:07:55 +02:00
|
|
|
JSON => 0,
|
2018-07-06 09:11:55 +02:00
|
|
|
Geo::IP => 0,
|
2014-08-12 08:06:26 +02:00
|
|
|
},
|
|
|
|
EXE_FILES => [ @exe_files ],
|
|
|
|
PMLIBDIRS => [ 'lib' ],
|
|
|
|
'dist' => { 'TAR' => 'tar', 'TARFLAGS' => 'cvfz', 'SUFFIX' => '.gz', 'COMPRESS' => 'gzip'}
|
2007-08-02 19:25:59 +02:00
|
|
|
);
|