blob: c9153789f90026a84decbc44f8fbf991e1e13306 [file] [log] [blame]
Akrondd3f47f2020-02-12 15:57:50 +01001#!/usr/bin/env perl
Marc Kupietz54807052024-01-09 10:56:09 +01002use v5.36;
Akrondd3f47f2020-02-12 15:57:50 +01003use strict;
4use warnings;
5use ExtUtils::MakeMaker;
Marc Kupietz1e882fb2020-09-09 00:05:46 +02006use File::ShareDir::Install;
7
8install_share dist => 'share';
Akrondd3f47f2020-02-12 15:57:50 +01009
10WriteMakefile(
11 NAME => 'tei2korapxml',
12 AUTHOR => 'Peter Harders',
13 ABSTRACT => 'Conversion of TEI P5 based formats to KorAP-XML',
Akrond949e182020-02-14 12:23:57 +010014 VERSION_FROM => 'script/tei2korapxml',
Akrondd3f47f2020-02-12 15:57:50 +010015 LICENSE => 'freebsd',
Marc Kupietze83a4e92021-03-16 20:51:26 +010016 CONFIGURE_REQUIRES => {
17 'ExtUtils::MakeMaker' => '6.52',
18 'File::ShareDir::Install' => '0.13',
19 },
Akrondd3f47f2020-02-12 15:57:50 +010020 BUILD_REQUIRES => {
21 'Test::More' => 0,
Akron2a60c532020-02-13 15:52:18 +010022 'Test::Output' => 0,
Akron71eec512023-01-03 11:48:38 +010023 'XML::Loy' => 0.52,
Akrond89ef822020-02-17 12:42:09 +010024 'IO::Uncompress::Unzip' => '2.091',
Akrond949e182020-02-14 12:23:57 +010025 'Pod::Usage' => 0,
Akronaa229a22020-02-18 13:44:25 +010026 'Dumbbench' => '0.111',
Akron044bd922020-07-30 09:12:28 +020027 'DateTime' => '1.51',
Marc Kupietz7c88a7b2020-10-14 16:28:57 +020028 'File::Share' => '0.25',
Akroncf7854c2023-02-28 11:27:43 +010029 'Capture::Tiny' => '0.48',
30 'Log::Any' => '1.713'
Akrondd3f47f2020-02-12 15:57:50 +010031 },
32 PREREQ_PM => {
Marc Kupietz1e882fb2020-09-09 00:05:46 +020033 'File::Share' => '0.25',
Akrondd3f47f2020-02-12 15:57:50 +010034 'XML::CompactTree::XS' => '0.03',
35 'XML::LibXML::Reader' => '2.0201',
Akronddf17292020-07-31 09:27:41 +020036 'IO::Compress::Zip' => '2.091',
Akroncf7854c2023-02-28 11:27:43 +010037 'Log::Any' => '1.713'
Akrondd3f47f2020-02-12 15:57:50 +010038 },
Marc Kupietz54807052024-01-09 10:56:09 +010039 MIN_PERL_VERSION => '5.036',
Marc Kupietze955ecc2021-02-17 17:42:01 +010040 EXE_FILES => ['script/tei2korapxml'],
41 META_MERGE => {
42 'meta-spec' => { version => 2 },
43 requires => { perl => '5.010001' },
44 resources => {
45 license => 'https://opensource.org/licenses/BSD-2-Clause',
46 repository => {
47 type => 'git',
48 url => 'https://github.com/KorAP/KorAP-XML-TEI.git',
49 web => 'https://github.com/KorAP/KorAP-XML-TEI',
50 },
51 bugtracker => {
52 web => 'https://github.com/KorAP/KorAP-XML-TEI/issues'
53 }
54 }
55 }
Akrondd3f47f2020-02-12 15:57:50 +010056);
Marc Kupietz1e882fb2020-09-09 00:05:46 +020057
58package MY;
59use File::ShareDir::Install 'postamble';