#!/usr/bin/perl # # Perl Makefile for MogileFS # $Id: Makefile.PL 1336 2009-10-18 09:30:59Z dormando $ # # 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 ', ABSTRACT_FROM => 'lib/MogileFS/Server.pm', EXE_FILES => $exefiles, PREREQ_PM => { 'Danga::Socket' => '1.56', 'Perlbal' => '1.53', '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, }, META_MERGE => { no_index => { directory => 'lib/mogdeps', package => ['ProcessHandle', 'TrackerHandle', 'MogstoredHandle', 'MogPath', 'Mgd'], }, }, );