easyblock = 'ConfigureMake'

name = 'libxml2'
version = '2.9.4'

homepage = 'http://xmlsoft.org/'
description = """Libxml2 is the XML C parser and
toolchain developed for the Gnome project
 (but usable outside of the Gnome platform)."""

toolchain = {'name': 'dummy', 'version': ''}

source_urls = [
    'http://xmlsoft.org/sources/',
    'http://xmlsoft.org/sources/old/'
]
sources = [SOURCELOWER_TAR_GZ]

preconfigopts = 'export LDFLAGS="-L$EBROOTZLIB/lib" && '

configopts = 'CC="$CC" CXX="$CXX" --with-pic --without-python'

dependencies = [('zlib', '1.2.11')]

moduleclass = 'lib'