mirror of
https://codeberg.org/scip/leo.git
synced 2025-12-17 04:31:01 +01:00
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.
19 lines
483 B
Perl
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
|
|
}
|
|
);
|
|
|