# IT4Innovations # LK 2021 easyblock = 'ConfigureMake' name = 'XZ' version = '5.2.5' homepage = 'https://tukaani.org/xz/' description = "xz: XZ utilities" toolchain = SYSTEM source_urls = ['https://tukaani.org/xz/'] sources = [SOURCELOWER_TAR_BZ2] patches = ['XZ-5.2.2_compat-libs.patch'] checksums = [ '5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df', # xz-5.2.5.tar.bz2 '578da3ea2ddb551972891a60fe31478b16a516d6ea8b6aa3af89e1d558adb703', # XZ-5.2.2_compat-libs.patch ] builddependencies = [ # use gettext built with system toolchain as build dep to avoid cyclic dependency (XZ -> gettext -> libxml2 -> XZ) ('gettext', '0.21', '', True), ] # may become useful in non-x86 archs # configopts = ' --disable-assembler ' sanity_check_paths = { 'files': ['bin/lzmainfo', 'bin/unxz', 'bin/xz'], 'dirs': [] } sanity_check_commands = [ "xz --help", "unxz --help", ] moduleclass = 'tools'