Files
leo/Makefile.PL
Roland Hieber 89ac6cbcd6 implement new XML API, using XML::Simple
Unfortunately, we cannot yet parse the additional hints (plural forms,
cases, parts of speech, etc., everything inside <repr> tags) because the
XML::Simple API does not retain the correct ordering of CDATA content
mixed with subtags... :-/

This also removes the options -SpellTolerance, -Morphology, and
-CharTolerance, which are no longer supported by the new API (as long as
I can see.)

Note that although the XML contains UTF-8 data, XML::Simple decodes
it to latin1, so we have to re-encode it to get good results.
2017-03-11 06:42:25 +01:00

19 lines
483 B
Perl

#
# made for WWW::Dict::Leo::Org 1.33 and up
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'WWW::Dict::Leo::Org',
'VERSION_FROM' => 'Org.pm',
'EXE_FILES' => [ 'leo' ],
'clean' => { FILES => '*~' },
'EXCLUDE_EXT' => [ qw(README) ],
'PREREQ_PM' => { 'Carp::Heavy' => 0,
'IO::Socket' => 0,
'MIME::Base64' => 0,
'XML::Simple' => 0
}
);