1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
#!/usr/bin/perl
use strict;
# For PRIVATE Module::Install extensions
use lib 'lib';
use inc::Module::Install;
Check_Custom_Installation();
print "\n", '-'x78, "\n\n";
name ('grepmail');
author ('David Coppit <david@coppit.org>');
abstract_from ('grepmail');
version_from ('grepmail');
license ('gpl');
install_script ('grepmail');
build_requires (
'Test::More' => 0,
);
requires (
'perl' => '5.004',
'Date::Parse' => 0,
'Mail::Mbox::MessageParser' => '1.4001',
);
postamble (
'
testspeed :: pure_all
PERL_DL_NONLAZY=1 $(PERLRUN) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" t/speed.pl
'
);
# Optional features and their modules
features (
'Reduced Memory Consumption for -u' => [
-default => 0,
recommends( 'Digest::MD5' => 0 ),
],
'Complex Date Patterns' => [
-default => 1,
recommends( 'Date::Manip' => 0 ),
],
'Speed Tests' => [
-default => 0,
recommends( 'Benchmark::Timer' => '0.7100' ),
],
);
include ('ExtUtils/AutoInstall.pm');
clean_files ('t/temp');
auto_include_deps ( );
auto_install ( );
WriteAll();
print "\n", '-'x78, "\n\n";
Update_Test_Version('grepmail','t/results/help');
exit;
|