easyblock = 'PerlModule'

name = 'XML-Parser'
version = '2.41'

homepage = 'http://search.cpan.org/~toddr/XML-Parser-2.41/'
description = """This is a Perl extension interface to James Clark's XML parser, expat."""

toolchain = {'name': 'goolf', 'version': '1.4.10'}

source_urls = ['http://cpan.metacpan.org/authors/id/T/TO/TODDR/']
sources = [SOURCE_TAR_GZ]

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

dependencies = [
    (perl, perlver),
    ('expat', '2.1.0')
]

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

perlmajver = perlver.split('.')[0]
sanity_check_paths = {
    'files': [],
    'dirs': ['lib/perl%s/site_perl/%s/x86_64-linux-thread-multi/XML' % (perlmajver, perlver)],
}

moduleclass = 'data'
