File: Makefile.PL

package info (click to toggle)
libnativecall-perl 0.006-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 96 kB
  • sloc: perl: 66; makefile: 7
file content (35 lines) | stat: -rw-r--r-- 768 bytes parent folder | download | duplicates (3)
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
use ExtUtils::MakeMaker;
use strict;
use warnings;

my %runtime_reqs = (
  'perl' => '5.016',
  'parent' => 0,
  'FFI::Platypus' => 0,
  'FFI::CheckLib' => 0.06,
  'Sub::Util' => 0,
);

WriteMakefile(
  NAME => 'NativeCall',
  VERSION_FROM => 'lib/NativeCall.pm',
  ABSTRACT_FROM => 'lib/NativeCall.pm',
  AUTHOR => 'Ed J <etj@cpan.org>',
  LICENSE => 'perl',
  META_MERGE => {
    "meta-spec" => { version => 2 },
    resources => {
      repository => {
        type => 'git',
        url => 'git://github.com/mohawk2/nativecall',
        web => 'https://github.com/mohawk2/nativecall',
      },
    },
  },
  CONFIGURE_REQUIRES => { 'ExtUtils::MakeMaker' => 0 },
  TEST_REQUIRES => {
    'Test::More' => 0,
    %runtime_reqs,
  },
  PREREQ_PM => \%runtime_reqs,
);