easyblock = 'PerlModule'

name = 'XML-LibXML'
version = '2.0018'

homepage = 'http://search.cpan.org/src/SHLOMIF/XML-LibXML-2.0018/'
description = """Perl binding for libxml2"""

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

source_urls = ['http://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/']
sources = [SOURCE_TAR_GZ]

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

dependencies = [
    (perl, perlver),
    ("libxml2", "2.9.0"),
]

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

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/perl5/site_perl/%s/x86_64-linux-thread-multi/XML/LibXML' % perlver],
}

moduleclass = 'data'
