-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
64 lines (57 loc) · 1.49 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
use strict;
use warnings;
use 5.010;
use ExtUtils::MakeMaker;
my %common_reqs = (
"Alien::Build" => "1.41",
"ExtUtils::MakeMaker" => "6.52",
"Alien::Build::MM" => "1.41",
"Path::Tiny" => "0",
"Config" => "0",
);
my %WriteMakefileArgs = (
"ABSTRACT" => "Alien package for Gtk2 dynamic libs, Windows only",
"AUTHOR" => 'Shawn Laffan <shawnlaffan@gmail.com>',
"NAME" => "Alien::GktStack::Windows",
"VERSION_FROM" => "lib/Alien/GtkStack/Windows.pm",
"CONFIGURE_REQUIRES" => {
%common_reqs,
},
"BUILD_REQUIRES" => {
%common_reqs,
},
"TEST_REQUIRES" => {
"Test::Alien" => 0,
},
"PREREQ_PM" => {
"Alien::Base" => "1.41",
"Path::Tiny" => "0",
"Config" => "0",
},
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/shawnlaffan/perl-alien-gtkstack-windows',
},
bugtracker => {
web => 'https://github.com/shawnlaffan/perl-alien-gtkstack-windows',
},
},
},
"DISTNAME" => "Alien-GtkStack-Windows",
"LICENSE" => "perl",
);
use Alien::Build::MM;
my $abmm = Alien::Build::MM->new (
clean_install => 1,
);
sub MY::install {
$abmm->mm_install(@_);
}
%WriteMakefileArgs = $abmm->mm_args(%WriteMakefileArgs);
WriteMakefile(%WriteMakefileArgs);
sub MY::postamble {
$abmm->mm_postamble;
}