enable DB upgrade for host readonly state
[MogileFS-Server.git] / Makefile.PL
blobf136b115d989372c4fca1f8797cb1e7c4e97291e
1 #!/usr/bin/perl
3 # Perl Makefile for MogileFS
4 # $Id$
6 # Invoke with 'perl Makefile.PL'
8 # See ExtUtils::MakeMaker (3) for more information on how to influence
9 # the contents of the Makefile that is written
12 use ExtUtils::MakeMaker;
14 my $exefiles = ["mogstored", "mogilefsd", "mogdbsetup", "mogautomount"];
15 $exefiles = ["mogstored"] if exists $ENV{DANGABUILD_MOGSTOREDONLY};
16 $exefiles = ["mogilefsd"] if exists $ENV{DANGABUILD_MOGILEFSDONLY};
18 WriteMakefile(
19 NAME => 'MogileFS::Server',
20 VERSION_FROM => 'lib/MogileFS/Server.pm',
21 AUTHOR => 'Brad Fitzpatrick <brad@danga.com>',
22 ABSTRACT_FROM => 'lib/MogileFS/Server.pm',
23 EXE_FILES => $exefiles,
24 PREREQ_PM => {
25 'Danga::Socket' => '1.56',
26 'Perlbal' => '1.79',
27 'Sys::Syslog' => 0,
28 'Sys::Syscall' => '0.22',
29 'Getopt::Long' => 0,
30 'Symbol' => 0,
31 'Net::Netmask' => 0,
32 fields => 0,
33 'IO::AIO' => 0,
34 'MogileFS::Client' => 0,
35 DBI => 0,
36 'Test::More' => 0.88, # 0.88 for done_testing() support
38 META_MERGE => {
39 no_index => {
40 package => ['ProcessHandle', 'TrackerHandle', 'MogstoredHandle',
41 'MogPath', 'Mgd'],
43 resources => {
44 homepage => 'http://www.mogilefs.org',
45 bugtracker => 'http://code.google.com/p/mogilefs/issues/list',
46 repository => 'git://github.com/mogilefs/MogileFS-Server.git',
47 MailingList => 'http://groups.google.com/group/mogile',