-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
62 lines (57 loc) · 1.6 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
use strict;
use warnings;
use ExtUtils::MakeMaker;
use Alien::Build::MM;
my $abmm = Alien::Build::MM->new;
my %WriteMakefileArgs = (
NAME => 'Alien::DuckDB',
DISTNAME => 'Alien-DuckDB',
AUTHOR => 'Chris Prather <[email protected]>',
VERSION_FROM => 'lib/Alien/DuckDB.pm',
ABSTRACT_FROM => 'lib/Alien/DuckDB.pm',
LICENSE => 'perl',
MIN_PERL_VERSION => '5.008004',
CONFIGURE_REQUIRES => {
'Alien::Build::MM' => '0.32',
'Alien::Build' => '0.32',
'ExtUtils::MakeMaker' => '6.52',
},
TEST_REQUIRES => {
'Test::More' => '0',
'Test2::V0' => '0',
'Test::Alien' => '0',
'FFI::Platypus' => '0',
},
PREREQ_PM => {
'Alien::Base' => '0.038',
'Path::Tiny' => '0.122',
},
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/perigrin/Alien-DuckDB.git',
web => 'https://github.com/perigrin/Alien-DuckDB',
},
bugtracker => {
web => 'https://github.com/perigrin/Alien-DuckDB/issues',
},
},
},
clean => { FILES => 'Alien-DuckDB-* _alien' },
);
%WriteMakefileArgs = $abmm->mm_args(%WriteMakefileArgs);
# Handle postamble and install
{ package
MY;
sub postamble {
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
WriteMakefile(%WriteMakefileArgs);