~ubuntu-branches/ubuntu/vivid/horae/vivid-proposed

« back to all changes in this revision

Viewing changes to Build.PL

  • Committer: Package Import Robot
  • Author(s): Carlo Segre
  • Date: 2014-12-03 23:20:00 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20141203232000-5363udd1o5jhtzpl
Tags: 071~svn537-1
* New upstream release (Closes: #708947)
* Modify mkathena.PL and mkartemis.PL to compensate for random order of 
  execution of *.PL execution and thus missing components for executables.
  (Closes: #746364)
* Upgrade to Standards-Version 3.9.6 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
(-e 'bin/artemis')    and unlink 'bin/artemis';
7
7
(-e 'bin/hephaestus') and unlink 'bin/hephaestus';
8
8
 
9
 
 
10
9
my $build = Module::Build
11
10
  -> new(
12
 
         create_readme      => 0,
13
 
         ##create_makefile_pl => 'traditional',
14
 
         license            => 'perl',
15
 
         verbose => 1,
16
 
         dist_version_from  => 'lib/Ifeffit/Tools.pm',
17
 
         dist_name        => 'horae',
18
 
         dist_author        => 'Bruce Ravel <bravel AT bnl DOT gov>',
19
 
         dist_abstract      => 'XAS data processing and analysis using Ifeffit',
20
 
         requires           => {
21
 
                                "Tk"                      => '804.027',
22
 
                                "Compress::Zlib"          => '0',
23
 
                                "Archive::Zip"            => '0',
24
 
                                "Chemistry::Elements"     => '0',
25
 
                                "Config::IniFiles"        => '0',
26
 
                                "Math::Combinatorics"     => '0',
27
 
                                "Math::Derivative"        => '0',
28
 
                                "Math::Round"             => '0',
29
 
                                "Math::Spline"            => '0',
30
 
                                "Parse::RecDescent"       => '0',
31
 
                                "Pod::Escapes"            => '0',
32
 
                                "Pod::Simple"             => '0',
33
 
                                "Spreadsheet::WriteExcel" => '0',
34
 
                                "Statistics::Descriptive" => '0',
35
 
                                "Text::Glob"              => '0',
36
 
                                "Tie::IxHash"             => '0',
37
 
                                "Tie::Watch"              => '0',
38
 
                                "Time::Stopwatch"         => '0',
39
 
                                "Tk::FileDialog"          => '0',
40
 
                                "Tk::NumEntry"            => '0',
41
 
                                "Tk::HistEntry"           => '0',
42
 
                                "Tk::Pod"                 => '0',
43
 
                                "Tk::Splashscreen"        => '0',
44
 
                               },
45
 
         PL_files           => {
46
 
                                'lib/Xray/space_groups.db.PL' => 'lib/Xray/space_groups.db',
47
 
                                'mkathena.PL'                 => 'bin/athena',
48
 
                                'mkartemis.PL'                => 'bin/artemis',
49
 
                                'mkhephaestus.PL'             => 'bin/hephaestus',
50
 
                                'mkathenarc.PL'               => 'lib/Ifeffit/lib/athena/athena.ini',
51
 
                                'mkartemisrc.PL'              => 'lib/Ifeffit/lib/artemis/artemis.ini',
52
 
                               },
53
 
         rc_files           => {
54
 
                                "lib/Ifeffit/lib/athena/athenarc"      => "lib/Ifeffit/lib/athena/athenarc",
55
 
                                "lib/Ifeffit/lib/athena/athenarcw"     => "lib/Ifeffit/lib/athena/athenarcw",
56
 
                                "lib/Ifeffit/lib/artemis/artemisrc"    => "lib/Ifeffit/lib/artemis/artemisrc",
57
 
                                "lib/Ifeffit/lib/artemis/artemisrcw"   => "lib/Ifeffit/lib/artemis/artemisrcw",
58
 
                                "lib/Ifeffit/lib/hephaestus/kalziumrc" => "lib/Ifeffit/lib/hephaestus/kalziumrc",
59
 
                               },
60
 
         recommends         => { },
61
 
         sign               => 0,
62
 
        );
 
11
         create_readme      => 0,
 
12
         ##create_makefile_pl => 'traditional',
 
13
         license            => 'perl',
 
14
         verbose => 1,
 
15
         dist_version_from  => 'lib/Ifeffit/Tools.pm',
 
16
         dist_name        => 'horae',
 
17
         dist_author        => 'Bruce Ravel <bravel AT bnl DOT gov>',
 
18
         dist_abstract      => 'XAS data processing and analysis using Ifeffit',
 
19
         requires           => {
 
20
                                "Tk"                      => '804.027',
 
21
                                "Compress::Zlib"          => '0',
 
22
                                "Archive::Zip"            => '0',
 
23
                                "Chemistry::Elements"     => '0',
 
24
                                "Config::IniFiles"        => '0',
 
25
                                "Math::Combinatorics"     => '0',
 
26
                                "Math::Derivative"        => '0',
 
27
                                "Math::Round"             => '0',
 
28
                                "Math::Spline"            => '0',
 
29
                                "Parse::RecDescent"       => '0',
 
30
                                "Pod::Escapes"            => '0',
 
31
                                "Pod::Simple"             => '0',
 
32
                                "Spreadsheet::WriteExcel" => '0',
 
33
                                "Statistics::Descriptive" => '0',
 
34
                                "Text::Glob"              => '0',
 
35
                                "Tie::IxHash"             => '0',
 
36
                                "Tie::Watch"              => '0',
 
37
                                "Time::Stopwatch"         => '0',
 
38
                                "Tk::FileDialog"          => '0',
 
39
                                "Tk::NumEntry"            => '0',
 
40
                                "Tk::HistEntry"           => '0',
 
41
                                "Tk::Pod"                 => '0',
 
42
                                "Tk::Splashscreen"        => '0',
 
43
                               },
 
44
         PL_files           => {
 
45
                                'lib/Xray/space_groups.db.PL' => 'lib/Xray/space_groups.db',
 
46
                                'mkathena.PL'                 => 'bin/athena',
 
47
                                'mkartemis.PL'                => 'bin/artemis',
 
48
                                'mkhephaestus.PL'             => 'bin/hephaestus',
 
49
                                'mkathenarc.PL'               => 'lib/Ifeffit/lib/athena/athena.ini',
 
50
                                'mkartemisrc.PL'              => 'lib/Ifeffit/lib/artemis/artemis.ini',
 
51
                               },
 
52
         rc_files           => {
 
53
                                "lib/Ifeffit/lib/athena/athenarc"      => "lib/Ifeffit/lib/athena/athenarc",
 
54
                                "lib/Ifeffit/lib/athena/athenarcw"     => "lib/Ifeffit/lib/athena/athenarcw",
 
55
                                "lib/Ifeffit/lib/artemis/artemisrc"    => "lib/Ifeffit/lib/artemis/artemisrc",
 
56
                                "lib/Ifeffit/lib/artemis/artemisrcw"   => "lib/Ifeffit/lib/artemis/artemisrcw",
 
57
                                "lib/Ifeffit/lib/hephaestus/kalziumrc" => "lib/Ifeffit/lib/hephaestus/kalziumrc",
 
58
                               },
 
59
         recommends         => { },
 
60
         sign               => 0,
 
61
        );
63
62
 
64
63
foreach my $el (qw(gif png ico xpm config ini rc hints mee readme pod prj db atp en)) {
65
64
  $build->add_build_element($el);