name = 'libxml2' version = '2.8.0' 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': 'ictce', 'version': '5.3.0'} toolchainopts = {'pic': True} source_urls = [ 'http://xmlsoft.org/sources/', 'http://xmlsoft.org/sources/old/' ] sources = [SOURCELOWER_TAR_GZ] configopts = 'CC="$CC" CXX="$CXX" --with-pic --with-zlib=$EBROOTZLIB' local_pythonver = '2.7.3' local_pythonshortver = '.'.join(local_pythonver.split('.')[0:2]) versionsuffix = '-%s-%s' % ('Python', local_pythonver) dependencies = [ ('zlib', '1.2.7'), ('Python', local_pythonver), ] sanity_check_paths = { 'files': [ ('lib/libxml2.a', 'lib64/libxml2.a'), ('lib/libxml2.%s' % SHLIB_EXT, 'lib64/libxml2.%s' % SHLIB_EXT)], 'dirs': [ 'bin', 'include/libxml2/libxml'], } moduleclass = 'lib'