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', |
| 16 | BUILD_REQUIRES => { |
| 17 | 'Test::More' => 0, |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 18 | 'Test::Output' => 0, |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 19 | 'XML::Loy' => 0.49, |
| 20 | 'IO::Uncompress::Unzip' => '2.091', |
Akron | d949e18 | 2020-02-14 12:23:57 +0100 | [diff] [blame] | 21 | 'Pod::Usage' => 0, |
Akron | aa229a2 | 2020-02-18 13:44:25 +0100 | [diff] [blame] | 22 | 'Dumbbench' => '0.111', |
Akron | 044bd92 | 2020-07-30 09:12:28 +0200 | [diff] [blame] | 23 | 'DateTime' => '1.51', |
Marc Kupietz | 7c88a7b | 2020-10-14 16:28:57 +0200 | [diff] [blame] | 24 | 'File::Share' => '0.25', |
Akron | 044bd92 | 2020-07-30 09:12:28 +0200 | [diff] [blame] | 25 | 'Capture::Tiny' => '0.48' |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 26 | }, |
| 27 | PREREQ_PM => { |
Marc Kupietz | 1e882fb | 2020-09-09 00:05:46 +0200 | [diff] [blame] | 28 | 'File::Share' => '0.25', |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 29 | 'XML::CompactTree::XS' => '0.03', |
| 30 | 'XML::LibXML::Reader' => '2.0201', |
Akron | ddf1729 | 2020-07-31 09:27:41 +0200 | [diff] [blame] | 31 | 'IO::Compress::Zip' => '2.091', |
| 32 | 'Log::Any' => '1.708' |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 33 | }, |
| 34 | MIN_PERL_VERSION => '5.016', |
Marc Kupietz | e955ecc | 2021-02-17 17:42:01 +0100 | [diff] [blame^] | 35 | EXE_FILES => ['script/tei2korapxml'], |
| 36 | META_MERGE => { |
| 37 | 'meta-spec' => { version => 2 }, |
| 38 | requires => { perl => '5.010001' }, |
| 39 | resources => { |
| 40 | license => 'https://opensource.org/licenses/BSD-2-Clause', |
| 41 | repository => { |
| 42 | type => 'git', |
| 43 | url => 'https://github.com/KorAP/KorAP-XML-TEI.git', |
| 44 | web => 'https://github.com/KorAP/KorAP-XML-TEI', |
| 45 | }, |
| 46 | bugtracker => { |
| 47 | web => 'https://github.com/KorAP/KorAP-XML-TEI/issues' |
| 48 | } |
| 49 | } |
| 50 | } |
Akron | dd3f47f | 2020-02-12 15:57:50 +0100 | [diff] [blame] | 51 | ); |
Marc Kupietz | 1e882fb | 2020-09-09 00:05:46 +0200 | [diff] [blame] | 52 | |
| 53 | package MY; |
| 54 | use File::ShareDir::Install 'postamble'; |