#!/usr/bin/perl
#
# Perl Makefile for Danga-Socket
# $Id: Makefile.PL 987 2007-05-09 22:13:56Z bradfitz $
#
# Invoke with 'perl Makefile.PL'
#
# See ExtUtils::MakeMaker (3) for more information on how to influence
# the contents of the Makefile that is written
#
use ExtUtils::MakeMaker;
my $exefiles = ["mogstored", "mogilefsd", "mogdbsetup", "mogautomount"];
$exefiles = ["mogstored"] if exists $ENV{DANGABUILD_MOGSTOREDONLY};
$exefiles = ["mogilefsd"] if exists $ENV{DANGABUILD_MOGILEFSDONLY};
WriteMakefile(
NAME => 'mogilefs-server',
VERSION_FROM => 'lib/MogileFS/Server.pm',
AUTHOR => 'Brad Fitzpatrick <brad@danga.com>',
ABSTRACT_FROM => 'lib/MogileFS/Server.pm',
EXE_FILES => $exefiles,
PREREQ_PM => {
'Danga::Socket' => '1.56',
'Perlbal' => '1.53', # Future: make Perlbal optional, for running mogstored
# in only-monitor/usage-writeout mode.
'Sys::Syslog' => 0,
'Sys::Syscall' => '0.22',
'Getopt::Long' => 0,
'Symbol' => 0,
'Net::Netmask' => 0,
'Gearman::Server' => 1.08, # but really want at least 1.09
'Gearman::Client::Async' => 0.93,
'Gearman::Client' => 1.07, # for Gearman::Worker, in fidsizes worker
fields => 0,
},
);