doc: various fixes and URL changes
[ssoma.git] / Makefile.PL
blob30abfea5eb741ac1f4316924fbeee3c301323376
1 #!/usr/bin/perl
2 # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
3 # License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt)
5 # Note: this may be rewritten in another language in the future,
6 # so don't depend on any public Perl API
7 use strict;
8 use ExtUtils::MakeMaker;
9 WriteMakefile(
10 NAME => 'ssoma',
11 VERSION => '0.0.0',
12 AUTHOR => 'Eric Wong <normalperson@yhbt.net>',
13 ABSTRACT => 'some sort of mail archiver',
14 EXE_FILES => [qw/ssoma-mda ssoma ssoma-rm/],
15 PREREQ_PM => {
16 # Keep this sorted and synced to the INSTALL document
17 'Digest::SHA' => 0,
18 'Email::LocalDelivery' => 0,
19 'Email::Simple' => 0,
20 'File::Path::Expand' => 0,
21 'Net::IMAP::Simple' => 0,
25 sub MY::postamble {
26 <<'EOF';
27 -include Documentation/include.mk
28 N = $(shell echo $$(( $$(nproc 2>/dev/null || echo 2) + 1)))
29 check:: pure_all
30 prove -lv -j$(N)
32 EOF