# IT4Innovations
# LK 2024

easyblock = 'ConfigureMake'

name = 'squashfs-tools'
version = '4.6.1'

homepage = 'http://squashfs.sourceforge.net/'
description = """Squashfs is a local_compressed read-only filesystem for Linux."""

toolchain = SYSTEM

source_urls = ['https://github.com/plougher/squashfs-tools/archive/refs/tags/']
sources = ['%(version)s.tar.gz']
checksums = ['94201754b36121a9f022a190c75f718441df15402df32c2b520ca331a107511c']

skipsteps = ['configure']

start_dir = 'squashfs-tools'

prebuildopts = 'sed -i "s|INSTALL_PREFIX = /usr/local|INSTALL_PREFIX = %(installdir)s|g" Makefile && '

sanity_check_paths = {
    'files': ['bin/mksquashfs', 'bin/unsquashfs'],
    'dirs': [],
}

moduleclass = 'devel'
