easyblock = 'PerlModule'

name = 'XML-Dumper'
version = '0.81'

homepage = 'http://search.cpan.org/~mikewong/XML-Dumper-0.81/'
description = """XML::Dumper dumps Perl data to a structured XML format.
XML::Dumper can also read XML data that was previously dumped
by the module and convert it back to Perl."""

toolchain = {'name': 'intel', 'version': '2014b'}
source_urls = ['http://cpan.metacpan.org/authors/id/M/MI/MIKEWONG/']
sources = [SOURCE_TAR_GZ]

perl = 'Perl'
perlver = '5.20.0'
versionsuffix = '-%s-%s' % (perl, perlver)

dependencies = [
    (perl, perlver),
    ('XML-Parser', '2.41', versionsuffix)
]

options = {'modulename': 'XML::Dumper'}

perlmajver = perlver.split('.')[0]
sanity_check_paths = {
    'files': ['lib/perl%s/site_perl/%s/XML/Dumper.pm' % (perlmajver, perlver)],
    'dirs': [],
}

moduleclass = 'data'
