Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 1 | #!/usr/bin/env perl |
| 2 | use v5.16; |
| 3 | use strict; |
| 4 | use warnings; |
| 5 | use ExtUtils::MakeMaker; |
Marc Kupietz | 1e882fb | 2020-09-09 00:05:46 +0200 | [diff] [blame] | 6 | use File::ShareDir::Install; |
| 7 | |
| 8 | install_share dist => 'share'; |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 9 | |
| 10 | WriteMakefile( |
| 11 | NAME => 'tei2korapxml', |
| 12 | AUTHOR => 'Peter Harders', |
| 13 | ABSTRACT => 'Conversion of TEI P5 based formats to KorAP-XML', |
Akron | d949e18 | 2020-02-14 12:23:57 +0100 | [diff] [blame] | 14 | VERSION_FROM => 'script/tei2korapxml', |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 15 | LICENSE => 'freebsd', |
Marc Kupietz | e83a4e9 | 2021-03-16 20:51:26 +0100 | [diff] [blame^] | 16 | CONFIGURE_REQUIRES => { |
| 17 | 'ExtUtils::MakeMaker' => '6.52', |
| 18 | 'File::ShareDir::Install' => '0.13', |
| 19 | }, |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 20 | BUILD_REQUIRES => { |
| 21 | 'Test::More' => 0, |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 22 | 'Test::Output' => 0, |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 23 | 'XML::Loy' => 0.49, |
| 24 | 'IO::Uncompress::Unzip' => '2.091', |
Akron | d949e18 | 2020-02-14 12:23:57 +0100 | [diff] [blame] | 25 | 'Pod::Usage' => 0, |
Akron | aa229a2 | 2020-02-18 13:44:25 +0100 | [diff] [blame] | 26 | 'Dumbbench' => '0.111', |
Akron | 044bd92 | 2020-07-30 09:12:28 +0200 | [diff] [blame] | 27 | 'DateTime' => '1.51', |
Marc Kupietz | 7c88a7b | 2020-10-14 16:28:57 +0200 | [diff] [blame] | 28 | 'File::Share' => '0.25', |
Akron | 044bd92 | 2020-07-30 09:12:28 +0200 | [diff] [blame] | 29 | 'Capture::Tiny' => '0.48' |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 30 | }, |
| 31 | PREREQ_PM => { |
Marc Kupietz | 1e882fb | 2020-09-09 00:05:46 +0200 | [diff] [blame] | 32 | 'File::Share' => '0.25', |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 33 | 'XML::CompactTree::XS' => '0.03', |
| 34 | 'XML::LibXML::Reader' => '2.0201', |
Akron | ddf1729 | 2020-07-31 09:27:41 +0200 | [diff] [blame] | 35 | 'IO::Compress::Zip' => '2.091', |
| 36 | 'Log::Any' => '1.708' |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 37 | }, |
| 38 | MIN_PERL_VERSION => '5.016', |
Marc Kupietz | e955ecc | 2021-02-17 17:42:01 +0100 | [diff] [blame] | 39 | 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 | } |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 55 | ); |
Marc Kupietz | 1e882fb | 2020-09-09 00:05:46 +0200 | [diff] [blame] | 56 | |
| 57 | package MY; |
| 58 | use File::ShareDir::Install 'postamble'; |