Skip to content
README 1.23 KiB
Newer Older
Birte Kristina Friesel's avatar
Birte Kristina Friesel committed
Travel::Status::DE::IRIS - Interface to IRIS based web departure monitors
-------------------------------------------------------------------------

* <http://finalrewind.org/projects/Travel-Status-DE-IRIS/>


Dependencies
------------

* perl version 5.14.2 or newer
* Class::Accessor
* DateTime
* DateTime::Format::Strptime
Birte Kristina Friesel's avatar
Birte Kristina Friesel committed
* List::Compare
Birte Kristina Friesel's avatar
Birte Kristina Friesel committed
* List::MoreUtils
* LWP::UserAgent
Birte Kristina Friesel's avatar
Birte Kristina Friesel committed
* XML::LibXML

Note about Text::LevenshteinXS: This module is old and unmaintained, but
appears to be packaged for slightly more distros than its successor
Text::Levenshtein::XS. If it is not available for your distro (and you do
not wish to build it), the following drop-in replacements are available:

* Text::Levenshtein::XS
* Text::Levenshtein (about 10 times slower than the XS modules)

To use them, simply run:
> sed -i 's/Text::LevenshteinXS/Text::Levenshtein::XS/g' Build.PL lib/Travel/Status/DE/IRIS/Stations.pm
or
> sed -i 's/Text::LevenshteinXS/Text::Levenshtein/g' Build.PL lib/Travel/Status/DE/IRIS/Stations.pm

Birte Kristina Friesel's avatar
Birte Kristina Friesel committed
Installation
------------

* perl Build.PL
* ./Build
* sudo ./Build install

See also the Module::Build documentation.

You can then run 'man Travel::Status::DE::IRIS'.
This distribution also ships the script 'db-iris', see 'man db-iris'.