# IT4Innovations 2018 easyblock = 'ConfigureMake' name = 'glibc' version = '2.19' homepage = 'https://www.gnu.org/software/libc/' description = """The Glibc package contains the main C library. This library provides the basic routines for allocating memory, searching directories, opening and closing files, reading and writing files, string handling, pattern matching, arithmetic, and so on.""" toolchain = SYSTEM sources = ['%(name)s-%(version)s.tar.gz'] source_urls = ['http://ftp.gnu.org/gnu/glibc/'] preconfigopts = 'mkdir build && ' preconfigopts += 'cd build && ' configure_cmd_prefix = '.' configopts = '--enable-kernel=2.6.32 --enable-obsolete-rpc --enable-stack-protector=strong' prebuildopts = 'cd build && ' preinstallopts = 'cd build && ' sanity_check_paths = { 'files': [], 'dirs': ['lib'], } moduleclass = 'lib'