| #!/usr/bin/env perl |
| use v5.16; |
| use strict; |
| use warnings; |
| use ExtUtils::MakeMaker; |
| use File::ShareDir::Install; |
| |
| install_share dist => 'share'; |
| |
| WriteMakefile( |
| NAME => 'tei2korapxml', |
| AUTHOR => 'Peter Harders', |
| ABSTRACT => 'Conversion of TEI P5 based formats to KorAP-XML', |
| VERSION_FROM => 'script/tei2korapxml', |
| LICENSE => 'freebsd', |
| CONFIGURE_REQUIRES => { |
| 'ExtUtils::MakeMaker' => '6.52', |
| 'File::ShareDir::Install' => '0.13', |
| }, |
| BUILD_REQUIRES => { |
| 'Test::More' => 0, |
| 'Test::Output' => 0, |
| 'XML::Loy' => 0.49, |
| 'IO::Uncompress::Unzip' => '2.091', |
| 'Pod::Usage' => 0, |
| 'Dumbbench' => '0.111', |
| 'DateTime' => '1.51', |
| 'File::Share' => '0.25', |
| 'Capture::Tiny' => '0.48' |
| }, |
| PREREQ_PM => { |
| 'File::Share' => '0.25', |
| 'XML::CompactTree::XS' => '0.03', |
| 'XML::LibXML::Reader' => '2.0201', |
| 'IO::Compress::Zip' => '2.091', |
| 'Log::Any' => '1.708' |
| }, |
| MIN_PERL_VERSION => '5.016', |
| EXE_FILES => ['script/tei2korapxml'], |
| META_MERGE => { |
| 'meta-spec' => { version => 2 }, |
| requires => { perl => '5.010001' }, |
| resources => { |
| license => 'https://opensource.org/licenses/BSD-2-Clause', |
| repository => { |
| type => 'git', |
| url => 'https://github.com/KorAP/KorAP-XML-TEI.git', |
| web => 'https://github.com/KorAP/KorAP-XML-TEI', |
| }, |
| bugtracker => { |
| web => 'https://github.com/KorAP/KorAP-XML-TEI/issues' |
| } |
| } |
| } |
| ); |
| |
| package MY; |
| use File::ShareDir::Install 'postamble'; |