forked from elsayed-lab/dantools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.PL
65 lines (63 loc) · 2.25 KB
/
Makefile.PL
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
use strict;
use warnings;
use ExtUtils::MakeMaker;
use File::ShareDir::Install;
use inc::Module::Install;
## Using ExtUtils::AutoInstall does the following: When running perl
## Makefile.PL for the first time in a fresh directory, it will figure
## out which (if any) modules are not installed. Then, when make is
## invoked, those will be installed; when used in concert with the way
## we have modules set up on the cluster, this means that all
## dependencies will be installed inside the root of the module
## installation for dantools, which I think is the best of the various
## available installation worlds.
use ExtUtils::AutoInstall(
-core => [
'autodie' => '',
'Bio::SeqIO' => '',
'Bio::Seq' => '',
'Bio::DB::Fasta' => '',
'Bio::Tools::CodonTable' => '',
'Bio::Matrix::IO' => '',
'Cwd' => '',
'FileHandle' => '',
'FindBin' => '',
'File::Basename' => '',
'File::Copy' => '',
'File::Path' => '',
'File::Spec' => '',
'File::Which' => '',
'Getopt::Long' => '',
'List::Util' => '',
'List::MoreUtils' => '',
'Parallel::ForkManager' => '',
'POSIX' => '',
'Text::CSV_XS::TSV' => '',
],);
install_share 'share';
auto_install(force => 1,);
## I also made a few changes in the body of the WriteMakefile, nothing
## substantive I think; with the caveat that I moved your aligner.sh
## and postprocess.sh to share/ and they should end up in bin/ upon
## invoking make install.
WriteMakefile(
LICENSE => 'perl',
NAME => 'Bio-Dantools',
AUTHOR => 'Daniel Klimes <daniel.s.klimes@gmail.com>',
VERSION_FROM => 'lib/Bio/Dantools.pm',
ABSTRACT => 'dantools: Utilities to compare disparate genomes',
EXE_FILES => ['script/dantools', 'script/Dantools', 'script/Dantools.pl'],
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/elsayed-lab/dantools.git',
},
bugtracker => {
web => 'https://github.com/elsayed-lab/dantools/issues',
},
homepage => 'https://github.com/elsayed-lab/dantools.git',
},
},
);