pandorafms/tentacle/Makefile.PL

23 lines
600 B
Perl

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',
AUTHOR => 'Pandora FMS <info@pandorafms.com>',
EXE_FILES => [ @exe_files ],
PMLIBDIRS => [ 'lib' ],
'dist' => { 'TAR' => 'tar', 'TARFLAGS' => 'cvfz', 'SUFFIX' => '.gz', 'COMPRESS' => 'gzip'}
);