File: Build.PL

package info (click to toggle)
libcrypt-xxhash-perl 0.07-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 688 kB
  • sloc: ansic: 3,322; makefile: 406; perl: 16
file content (43 lines) | stat: -rw-r--r-- 1,090 bytes parent folder | download
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
package main;

use utf8;
use warnings;
use strict;
use Module::Build ();
use Config ();

my $build = Module::Build->new(
    module_name         => 'Crypt::xxHash',
    license             => 'bsd',
    create_readme       => 1,
    configure_requires  => {
        'Module::Build' => 0.19, # xs
    },
    build_requires       => {
        'File::Which'        => 1.21,
        'IPC::Run'           => '20200505.0',
        'ExtUtils::CBuilder' => 0.280225,
        'Test::More'         => 1.302171,
        'Math::Int64'        => '0.54' # 32bit perl without int64 :\
    },
    requires       => {
	},
    needs_compiler => 1,
    include_dirs   => ['src'],
    c_source       => ['src'],
    extra_linker_flags => ['-lxxhash'],
    xs_files       => {
        './xs/xxHash.xs' => './lib/Crypt/xxHash.xs' 
    },
    meta_merge     => {
        'resources' => {
            'bugtracker' => 'https://github.com/KalessinD/perl_crypt_xxhash/issues',
            'repository' => 'https://github.com/KalessinD/perl_crypt_xxhash',
        },
    }
);

$build->create_build_script;

1;
__END__