2022-06-13 17:41:49 +02:00
|
|
|
use 5.000;
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
|
|
|
my %ARGV = map { my @r = split /=/,$_; defined $r[1] or $r[1]=1; @r } @ARGV;
|
|
|
|
my @exe_files = qw(tentacle_server);
|
|
|
|
|
|
|
|
WriteMakefile(
|
|
|
|
INSTALLSITELIB => '/usr/lib/perl5',
|
|
|
|
(($^O eq 'freebsd')
|
|
|
|
? (INSTALLSITELIB => '') : ()
|
|
|
|
),
|
|
|
|
($^O eq 'netbsd') ? (
|
|
|
|
INSTALLSITELIB => '',
|
|
|
|
INSTALLSITESCRIPT => '/usr/local/bin',
|
|
|
|
) :(),
|
|
|
|
|
|
|
|
NAME => 'PandoraFMS',
|
2023-06-29 16:06:25 +02:00
|
|
|
AUTHOR => 'Pandora FMS <info@pandorafms.com>',
|
2022-06-13 17:41:49 +02:00
|
|
|
EXE_FILES => [ @exe_files ],
|
|
|
|
PMLIBDIRS => [ 'lib' ],
|
|
|
|
'dist' => { 'TAR' => 'tar', 'TARFLAGS' => 'cvfz', 'SUFFIX' => '.gz', 'COMPRESS' => 'gzip'}
|
|
|
|
);
|