aports/community/perl-javascript-quickjs/quickjs-shared.mk.pl
Celeste fe53056131 community/perl-javascript-quickjs: upgrade to 0.20
also, rebuild against quickjs 0.20240113,
upgrade to apkbuild-cpan template 4, and
remove `.` from include directories to avoid
accidentally using vendored quickjs headers.
2024-02-14 18:14:21 +00:00

49 lines
1.1 KiB
Perl

#!/usr/bin/env perl
use strict;
use warnings;
use ExtUtils::MakeMaker::CPANfile;
use Config;
use File::Temp;
use File::Slurper;
use File::Spec;
use File::Which;
use Cwd;
WriteMakefile(
NAME => 'JavaScript::QuickJS',
VERSION_FROM => 'lib/JavaScript/QuickJS.pm', # finds $VERSION
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/JavaScript/QuickJS.pm', # retrieve abstract from module
AUTHOR => [
'Felipe Gasper (FELIPE)',
],
) : ()
),
INC => '-Wall --std=c99',
LICENSE => "perl_5",
PMLIBDIRS => ['lib'],
LIBS => "-lm -ldl -lpthread -lquickjs",
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'git://github.com/FGasper/p5-JavaScript-QuickJS.git',
web => 'https://github.com/FGasper/p5-JavaScript-QuickJS',
},
bugtracker => {
web => 'https://github.com/FGasper/p5-JavaScript-QuickJS/issues',
},
},
},
);
1;