blob: fc62eaa26449895e5afc56a2bbaea6fd59331221 [file] [log] [blame]
Akrondd3f47f2020-02-12 15:57:50 +01001#!/usr/bin/env perl
2use v5.16;
3use 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,
Akrond89ef822020-02-17 12:42:09 +010023 'XML::Loy' => 0.49,
24 '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',
Akron044bd922020-07-30 09:12:28 +020029 'Capture::Tiny' => '0.48'
Akrondd3f47f2020-02-12 15:57:50 +010030 },
31 PREREQ_PM => {
Marc Kupietz1e882fb2020-09-09 00:05:46 +020032 'File::Share' => '0.25',
Akrondd3f47f2020-02-12 15:57:50 +010033 'XML::CompactTree::XS' => '0.03',
34 'XML::LibXML::Reader' => '2.0201',
Akronddf17292020-07-31 09:27:41 +020035 'IO::Compress::Zip' => '2.091',
36 'Log::Any' => '1.708'
Akrondd3f47f2020-02-12 15:57:50 +010037 },
38 MIN_PERL_VERSION => '5.016',
Marc Kupietze955ecc2021-02-17 17:42:01 +010039 EXE_FILES => ['script/tei2korapxml'],
40 META_MERGE => {
41 'meta-spec' => { version => 2 },
42 requires => { perl => '5.010001' },
43 resources => {
44 license => 'https://opensource.org/licenses/BSD-2-Clause',
45 repository => {
46 type => 'git',
47 url => 'https://github.com/KorAP/KorAP-XML-TEI.git',
48 web => 'https://github.com/KorAP/KorAP-XML-TEI',
49 },
50 bugtracker => {
51 web => 'https://github.com/KorAP/KorAP-XML-TEI/issues'
52 }
53 }
54 }
Akrondd3f47f2020-02-12 15:57:50 +010055);
Marc Kupietz1e882fb2020-09-09 00:05:46 +020056
57package MY;
58use File::ShareDir::Install 'postamble';