forked from Starlink/perl-Starlink-Autoastrom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
36 lines (34 loc) · 1.46 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
use strict;
use ExtUtils::MakeMaker;
use vars qw/ %StarConfig /;
# For location of Starlink libraries and incs
eval "use Starlink::Config qw/ :override :verbose /;";
if ( $@ ) {
print "Could not find Starlink::Config - using /star\n";
%StarConfig = (
Star_Bin => '/star/bin',
);
}
WriteMakefile(
'EXE_FILES' => [ 'autoastrom' ],
'INSTALLSCRIPT' => "$StarConfig{Star_Bin}/autoastrom",
'NAME' => 'Starlink::Autoastrom',
'VERSION_FROM' => 'Autoastrom.pm',
'PREREQ_PM' => {
'Starlink::AST' => 0,
'Starlink::Astrom' => 0,
'Starlink::Extractor' => 0,
'Astro::Catalog' => 2.01,
'Astro::Coords' => 0.1,
'Astro::Correlate' => 0,
'Astro::FITS::HdrTrans' => 0,
'Astro::FITS::Header' => 0,
'Astro::Flux' => 0.01,
'Astro::WaveBand' => 0,
'NDF' => 0,
},
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'Autoastrom.pm',
AUTHOR => 'Brad Cavanagh <[email protected]>') : ()),
'dist' => {COMPRESS=>'gzip -9f', SUFFIX=>'gz'},
);