File: Makefile.PL

package info (click to toggle)
libgeo-coordinates-osgb-perl 2.20-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,304 kB
  • sloc: perl: 2,483; makefile: 7
file content (32 lines) | stat: -rw-r--r-- 799 bytes parent folder | download | duplicates (3)
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
use strict;
use warnings;

use ExtUtils::MakeMaker;

use File::ShareDir::Install;
install_share dist => "share";

my %WriteMakefileArgs = (
  "ABSTRACT" => "Convert coordinates between Lat/Lon and the British National Grid",
  "AUTHOR" => "Toby Thurston <toby\@cpan.org>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker"     => 0,
    "File::ShareDir::Install" => "0.06"
  },
  "DISTNAME"  => "Geo-Coordinates-OSGB",
  "LICENSE"   => "gpl",
  "NAME"      => "Geo::Coordinates::OSGB",
  "PREREQ_PM" => { 'File::Share' => "0.25" },
  "VERSION"   => "2.20",
  "test"      => { "TESTS" => "t/*.t" }
);

delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);

{
package
MY;
use File::ShareDir::Install qw(postamble);
}