-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
61 lines (56 loc) · 1.59 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
use strict;
use warnings;
use 5.010;
use ExtUtils::MakeMaker;
my %common_reqs = (
"Alien::Build" => "2.25",
"ExtUtils::MakeMaker" => "6.52",
"Alien::Build::MM" => "1.41",
($^O =~ /mswin/i) ? ("Alien::MSYS" => 0) : (),
"Alien::Build::Plugin::Download::Git" => "0",
#"File::Which" => "0",
#"Capture::Tiny" => "0",
"ExtUtils::CppGuess" => "0.25",
);
my %WriteMakefileArgs = (
"ABSTRACT" => "Alien package for the patchelf utility",
"AUTHOR" => 'Shawn Laffan <[email protected]>',
"NAME" => "Alien::patchelf",
"VERSION_FROM" => "lib/Alien/patchelf.pm",
"CONFIGURE_REQUIRES" => {
%common_reqs,
#'Alien::Build::Plugin::Download::GitHub' => '0',
},
"BUILD_REQUIRES" => {
%common_reqs,
#"Alien::Build::Plugin::Download::GitHub" => '0',
},
"TEST_REQUIRES" => {
"Test::Alien" => 0,
},
"PREREQ_PM" => {
"Alien::Base" => "1.41",
"Capture::Tiny" => '0',
},
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/PerlAlien/Alien-patchelf',
},
bugtracker => {
web => 'https://github.com/PerlAlien/Alien-patchelf/issues/',
},
},
},
"DISTNAME" => "Alien-patchelf",
"LICENSE" => "perl",
);
use Alien::Build::MM;
my $abmm = Alien::Build::MM->new ();
%WriteMakefileArgs = $abmm->mm_args(%WriteMakefileArgs);
WriteMakefile(%WriteMakefileArgs);
sub MY::postamble {
$abmm->mm_postamble;
}