projects/aports·blob master · refs

48 lines · 1.1 KiB

1#!/usr/bin/env perl
2
3use strict;
4use warnings;
5
6use ExtUtils::MakeMaker::CPANfile;
7
8use Config;
9
10use File::Temp;
11use File::Slurper;
12use File::Spec;
13use File::Which;
14use Cwd;
15
16WriteMakefile(
17 NAME => 'JavaScript::QuickJS',
18 VERSION_FROM => 'lib/JavaScript/QuickJS.pm', # finds $VERSION
19 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
20 (ABSTRACT_FROM => 'lib/JavaScript/QuickJS.pm', # retrieve abstract from module
21 AUTHOR => [
22 'Felipe Gasper (FELIPE)',
23 ],
24 ) : ()
25 ),
26 INC => '-Wall --std=c99',
27 LICENSE => "perl_5",
28
29 PMLIBDIRS => ['lib'],
30
31 LIBS => "-lm -ldl -lpthread -lquickjs",
32
33 META_MERGE => {
34 'meta-spec' => { version => 2 },
35 resources => {
36 repository => {
37 type => 'git',
38 url => 'git://github.com/FGasper/p5-JavaScript-QuickJS.git',
39 web => 'https://github.com/FGasper/p5-JavaScript-QuickJS',
40 },
41 bugtracker => {
42 web => 'https://github.com/FGasper/p5-JavaScript-QuickJS/issues',
43 },
44 },
45 },
46);
47
481;